GEIS  2.0
Gesture Engine Interface Support

Modules

 Gesture Subscription
 

Data Structures

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

Vendor-defined Configuration Items

These configuration items are not a part of the GEIS specification and may change.
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...
 
GeisStatus geis_input_devices (GeisInstance geis_instance, GeisInputFuncs *func, void *cookie)
 Registers a callback to receive information on input devices. More...
 
#define GEIS_ALL_INPUT_DEVICES
 

Detailed Description

Typedef Documentation

◆ GeisInputCallback

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

Prototype for input device callback functions.

◆ GeisInputFuncs

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

Function Documentation

◆ geis_input_devices()

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