omniGlass
constants.h
Go to the documentation of this file.
1 
4 #ifndef OMNIGLASS_LIB_CONSTANTS
5  #define OMNIGLASS_LIB_CONSTANTS
6 
8 typedef enum {
9 OMNIGLASS_RESULT_SUCCESS = 0,
14 
16 typedef enum {
17  OMNIGLASS_EVENT_GESTURE_STARTED = 0,
18  OMNIGLASS_EVENT_GESTURE_CHANGED,
19  OMNIGLASS_EVENT_GESTURE_ENDED
21 
23 typedef enum {
24  OMNIGLASS_PLATFORM_INIT_SUCCESS = 0,
28 
30 typedef enum {
31  OMNIGLASS_API_GESTURE_OPERATION_SUCCESS = 0,
35 
37 typedef enum {
38  OMNIGLASS_EDGE_LEFT = 0,
39  OMNIGLASS_EDGE_RIGHT,
40  OMNIGLASS_EDGE_TOP,
41  OMNIGLASS_EDGE_BOTTOM
43 
44 // const char *omniglass_touchpad_edge_names [] = {
45 // "left",
46 // "right",
47 // "top",
48 // "bottom"
49 // };
50 #endif
omniglass_touchpad_edge
Definition: constants.h:37
omniglass_operation_results
Definition: constants.h:8
@ OMNIGLASS_RESULT_BOOTSTRAP_FAILED
Definition: constants.h:12
@ OMNIGLASS_RESULT_MULTITOUCH_REPORT_FAILED
Definition: constants.h:10
@ OMNIGLASS_RESULT_NOMEM
Definition: constants.h:11
omniglass_init_result
Definition: constants.h:23
@ OMNIGLASS_PLATFORM_INIT_CONFIG_INVALID
Definition: constants.h:26
@ OMNIGLASS_PLATFORM_INIT_NO_TOUCHPAD
Definition: constants.h:25
omniglass_gesture_operation_result
Definition: constants.h:30
@ OMNIGLASS_API_GESTURE_OPERATION_NOTIMPLEMENTED
Definition: constants.h:33
@ OMNIGLASS_API_GESTURE_OPERATION_NOTSUPPORTED
Definition: constants.h:32
omniglass_event_type
Definition: constants.h:16