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...
 

Detailed Description

Typedef Documentation

typedef void(* GeisInputCallback) (void *cookie, GeisInputDeviceId device_id, void *attrs)

Prototype for input device callback functions.

Callback functions used to handle changes in the available input devices.

Function Documentation

GeisStatus geis_input_devices ( GeisInstance  geis_instance,
GeisInputFuncs func,
void *  cookie 
)

Registers a callback to receive information on input devices.

Parameters
[in]geis_instancepoints to a geis gesture subscription instance
[in]funcpoints to a GeisInputFuncs table
[in]cookiean 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.

Return values
GEIS_BAD_ARGUMENTan invalid argument value was passed
GEIS_STATUS_SUCCESSnormal successful completion