GEIS
2.0
Gesture Engine Interface Support
|
Data Structures | |
struct | GeisInputFuncs |
Callback functions used to handle changes in the available input devices. More... | |
Macros | |
#define | GEIS_ALL_INPUT_DEVICES |
Typedefs | |
typedef unsigned int | GeisInputDeviceId |
typedef void(* | GeisInputCallback) (void *cookie, GeisInputDeviceId device_id, void *attrs) |
Prototype for input device callback functions. More... | |
typedef struct GeisInputFuncs | GeisInputFuncs |
Callback functions used to handle changes in the available input devices. More... | |
Functions | |
GeisStatus | geis_input_devices (GeisInstance geis_instance, GeisInputFuncs *func, void *cookie) |
Registers a callback to receive information on input devices. More... | |
typedef void(* GeisInputCallback) (void *cookie, GeisInputDeviceId device_id, void *attrs) |
Prototype for input device callback functions.
typedef struct GeisInputFuncs GeisInputFuncs |
Callback functions used to handle changes in the available input devices.
GeisStatus geis_input_devices | ( | GeisInstance | geis_instance, |
GeisInputFuncs * | func, | ||
void * | cookie | ||
) |
Registers a callback to receive information on input devices.
[in] | geis_instance | points to a geis gesture subscription instance |
[in] | func | points to a GeisInputFuncs table |
[in] | cookie | an application specific value to be passed to the callback |
The callback is called for each gesture-capable input device available for the display region associated with the geis subscription instance. Over time, as gesture-capable input devices appear and disappear or change their abilities or configuration, the callback may be called again.
GEIS_BAD_ARGUMENT | an invalid argument value was passed |
GEIS_STATUS_SUCCESS | normal successful completion |