Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
source
ev3
ev3_both.h
Go to the documentation of this file.
1
/*
2
____ __ ____ ___ ____ __ (((((()
3
| |_ \ \ / ) ) | | ) | |_ \ \ / \(@)- /
4
|_|__ \_\/ __)_) |_|_/ |_|__ \_\/ /(@)- \
5
((())))
6
*/
13
#define GPIO_KEYS_PATH "/dev/input/by-path/platform-gpio-keys.0-event"
14
18
enum
{
19
EV3_KEY__NONE_ = 0,
20
21
EV3_KEY_UP = 0x01L,
22
EV3_KEY_DOWN = 0x02L,
23
EV3_KEY_LEFT = 0x04L,
24
EV3_KEY_RIGHT = 0x08L,
25
EV3_KEY_CENTER = 0x10L,
26
EV3_KEY_BACK = 0x20L,
27
};
28
29
#define DESC_LIMIT 64
30
#define DESC_VEC_LEN 4
Generated on Fri Oct 20 2017 17:49:29 by
1.8.11