User manual
Linux Guide taskit GmbH
array must be null terminated (value=0).
PORTUXINPUT_IOC_WRITEEEPROM
This function requires a pointer of type struct
eeprom_t as argument and stores one byte at the
selected address in input controller's EEPROM.
Note : The EEPROM's size is 1024 bytes where the
last 16 bytes are used by the calibration tool of
touchpad (TouchTool) to store calibration data.
PORTUXINPUT_IOC_READEEPROM
Reads one byte from input controller's EEPROM.
This function needs a pointer of type struct eeprom_t
to determine the address and to store data after read.
ioctl functions provided by the portuxmatrix module:
Ioctl function description
PORTUXMATRIX_IOC_SETKEY
It sets one entry in the matrix keyboard keymap. It
takes a pointer to struct matrixentry as the
argument. All members of the struct have to be
set before invoking the ioctl.
PORTUXMATRIX_IOC_GETKEY
It retrieves one entry from the matrix keyboard
keymap. It takes a pointer to struct matrixentry as
the argument. The members x, y and layer have
to be set before invoking the ioctl. The result is
stored in value.
PORTUXMATRIX_IOC_SETKEYMAP
It sets the complete keymap. It takes a pointer to
matrixmap as the argument, which is defined as
typedef struct portuxinputevent
matrixmap[PORTUXMATRIX_MAX_LAYER]
[PORTUXMATRIX_MAX_Y]
[PORTUXMATRIX_MAX_X].
PORTUXMATRIX_IOC_SETLAYER
Set the current keymap layer. Argument of type
unsigned char must me smaller than or equal to
the maximum layer number.
PORTUXMATRIX_IOC_SETMAXLAYER
Set the maximum keymap layer number.
Argument of type unsigned char must me smaller
than or equal to PORTUXMATRIX_MAX_LAYER
ioctl functions provided by the portuxtouch module
Ioctl function description
PORTUXTOUCH_IOC_CALIBRATESTART
It starts the calibration process. It can be
stopped
PORTUXTOUCH_IOC_CALIBRATEFINISH
and
PORTUXTOUCH_IOC_CALIBRATIONABORT
PORTUXTOUCH_IOC_CALIBRATEFINISH
It stops an already running calibration process
and stores the determined calibration values.
Page 50 of 65 Version 1.26 (2008-04-30)