GEIS  2.0
Gesture Engine Interface Support
Configuration

Functions

GeisStatus geis_get_configuration (Geis geis, GeisString configuration_item_name, void *configuration_item_value)
 Gets a feature configuration value.
GeisStatus geis_set_configuration (Geis geis, GeisString configuration_item_name, void *configuration_item_value)
 Sets a feature configuration value.

Required Configuration Items

These configuration items are defined by the GEIS specification.
#define GEIS_CONFIGURATION_FD
 Gets a Unix file descriptor that will signal the availablility of GEIS events for processing.

Vendor-defined Configuration Items

These configuration items are not a part of the GEIS specification and may change.
#define GEIS_CONFIG_UTOUCH_MAX_EVENTS
#define GEIS_CONFIG_ATOMIC_GESTURES
 Indicates if atomic gestures are in use.
#define GEIS_CONFIG_SEND_TENTATIVE_EVENTS
 See GEIS_INIT_SEND_TENTATIVE_EVENTS.
#define GEIS_CONFIG_SEND_SYNCHRONOS_EVENTS
 See GEIS_INIT_SEND_SYNCHRONOS_EVENTS.

Define Documentation

Indicates if atomic gestures are in use.

Value type GeisBoolean.

See GEIS_INIT_SEND_SYNCHRONOS_EVENTS.

See GEIS_INIT_SEND_TENTATIVE_EVENTS.

Gets a Unix file descriptor that will signal the availablility of GEIS events for processing.


Function Documentation

GeisStatus geis_get_configuration ( Geis  geis,
GeisString  configuration_item_name,
void *  configuration_item_value 
)

Gets a feature configuration value.

Parameters:
[in]geisAn opaque GEIS API object.
[in]configuration_item_nameSelects the configuration value to return.
[out]configuration_item_valuePoints to a buffer to contain the output value. The actual type of this buffer depends on the configuration_value_name.
Return values:
GEIS_STATUS_BAD_ARGUMENTan invalid argument value was passed
GEIS_STATUS_NOT_SUPPORTEDthe configuration value is not supported
GEIS_STATUS_SUCCESSnormal successful completion
GeisStatus geis_set_configuration ( Geis  geis,
GeisString  configuration_item_name,
void *  configuration_item_value 
)

Sets a feature configuration value.

Parameters:
[in]geisAn opaque GEIS API object.
[in]configuration_item_nameSelects the configuration value to return.
[in]configuration_item_valuePoints to a buffer to contain the output configuration value. The actual type of this buffer depends on the configuration_value_name.
Return values:
GEIS_STATUS_BAD_ARGUMENTan invalid argument value was passed
GEIS_STATUS_NOT_SUPPORTEDthe configuration value is not supported
GEIS_STATUS_SUCCESSnormal successful completion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines