wlmaker
Loading...
Searching...
No Matches
input.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMTK_INPUT_H__
21#define __WLMTK_INPUT_H__
22
23// BTN_LEFT, BTN_RIGHT, ...
24#include <linux/input-event-codes.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif // __cplusplus
29
32
34typedef enum {
35 WLMTK_BUTTON_DOWN,
36 WLMTK_BUTTON_UP,
37 WLMTK_BUTTON_CLICK,
38 WLMTK_BUTTON_DOUBLE_CLICK,
40
50
51#ifdef __cplusplus
52} // extern "C"
53#endif // __cplusplus
54
55#endif /* __WLMTK_INPUT_H__ */
56/* == End of input.h ======================================================= */
wlmtk_button_event_type_t
Definition input.h:34
Definition input.h:42
uint32_t time_msec
Definition input.h:48
uint32_t button
Definition input.h:44
wlmtk_button_event_type_t type
Definition input.h:46