7 #ifndef OMNIGLASS_PUBLIC_API_INCLUDED
8 #define OMNIGLASS_PUBLIC_API_INCLUDED
70 typedef void (*omniglass_callback_slide)(double, double,
void*);
71 typedef void (*omniglass_callback_pressed)(int);
72 typedef void (*omniglass_callback_released)(int);
73 typedef void (*omniglass_callback_edge)(double,
void*);
mostly enumerations for use in flow control
omniglass_touchpad_edge
Definition: constants.h:37
omniglass_operation_results
Definition: constants.h:8
omniglass_gesture_operation_result
Definition: constants.h:30
omniglass_operation_results omniglass_listen_gesture_touches_changed(struct omniglass *handle, omniglass_callback_touches_changed callback, void *passthrough)
Definition: omniglass.c:131
omniglass_operation_results omniglass_get_touchpad_specifications(struct omniglass *handle, omniglass_raw_specifications **specs)
Definition: omniglass.c:228
int omniglass_step(struct omniglass *handle)
Definition: omniglass.c:35
struct omniglass_raw_touchpoint omniglass_raw_touchpoint
omniglass_gesture_operation_result omniglass_listen_gesture_edge(struct omniglass *handle, omniglass_callback_edge callback, omniglass_touchpad_edge edge, void *passthrough)
Definition: omniglass.c:81
omniglass_gesture_operation_result omniglass_listen_gesture_slide(struct omniglass *handle, omniglass_callback_slide callback, void *passthrough)
Definition: omniglass.c:49
void omniglass_disable_gesture_edge(struct omniglass *handle)
Definition: omniglass.c:109
struct omniglass_raw_specifications omniglass_raw_specifications
omniglass_operation_results omniglass_init(struct omniglass **handle)
Definition: omniglass.c:255
void omniglass_disable_gesture_slide(struct omniglass *handle)
Definition: omniglass.c:60
struct omniglass_raw_report omniglass_raw_report
omniglass_operation_results omniglass_get_raw_report(struct omniglass *handle, omniglass_raw_report **report)
Definition: omniglass.c:237
Definition: omniglass.h:37
int points_max
Definition: omniglass.h:38
omniglass_raw_touchpoint * points
Definition: omniglass.h:39
Definition: omniglass.h:51
Definition: omniglass.h:30
double y
Definition: omniglass.h:33
double x
Definition: omniglass.h:32
bool is_touching
Definition: omniglass.h:31
Definition: omniglass.c:17