User manual

Linux Guide taskit GmbH
PORTUXTOUCH_IOC_CALIBRATEABORT
It stops an already running calibration process
and but discards the current calibration values.
PORTUXTOUCH_IOC_CALIBRATE
It starts a self finishing calibration process. It
takes an int as an argument which determines
the timeout in seconds.
That means that when you stopped touching
the touch panel it waits as many seconds as
given for new input from the touch panel until it
finally stops calibration. At the start of the
calibration, the minimum and maximum values
initialized to only reflect the exact centre. When
the calibration finishes, they are only stored, if
all of them have changed.
PORTUXTOUCH_IOC_CALIBRATIONSTATUS
With this function you can determine the current
minimum and maximum values during normal
calibration and additionally the remaining time
during the self finishing calibration. It takes a
pointer to struct calibration as an argument.
ioctl functions provided by the portuxir module
Ioctl function description
PORTUXIR_IOC_SETKEY
It sets one entry in the IR remote control keymap.
It takes a pointer to struct irentry as an argument.
All members of the struct have to be set before
invoking the ioctl.
PORTUXIR_IOC_GETKEY
It sets one entry in the IR remote control keymap.
It takes a pointer to struct irentry as an argument.
The member code must be set before invoking
the ioctl.
PORTUXIR_IOC_SETKEYMAP
It sets the complete keymap. It takes a pointer to
irmap as the argument, which is defined as
typedef struct portuxinputevent
irmap[PORTUXIR_MAX_LAYER]
[PORTUXIR_MAX_COMMANDCODES].
PORTUXIR_IOC_SETFILTER
Each IR remote control does not only send a
command code but additionally a device code.
With this ioctl you can set the device code, which
is the only accepted one or set, that every device
code is accepted. This ioctl takes an integer as
the argument which has to be between 0x00 and
0xff as the acceptable code or 0x100 to accept all
codes.
PORTUXIR_IOC_SETLAYER
Set the current keymap layer. Argument of type
unsigned char must me smaller than or equal to
the maximum layer number.
PORTUXIR_IOC_SETMAXLAYER
Set the maximum keymap layer number.
Argument of type unsigned char must be smaller
than or equal to PORTUXIR_MAX_LAYER
Page 51 of 65 Version 1.26 (2008-04-30)