blob: 51be1933af0cfe05c4f14704a3ad728932998c73
1 | #ifndef AMLOGIC_UI_H |
2 | #define AMLOGIC_UI_H |
3 | |
4 | #include <linux/input.h> |
5 | |
6 | #define NUM_CTRLINFO 3 |
7 | #define NUM_DEFAULT_KEY_MAP 3 |
8 | |
9 | struct KeyMapItem_t { |
10 | const char* type; |
11 | int value; |
12 | int key[6]; |
13 | }; |
14 | |
15 | struct CtrlInfo_t { |
16 | const char *type; |
17 | int value; |
18 | }; |
19 | |
20 | void fb_set(); |
21 | int getKey(char *key); |
22 | void load_key_map(); |
23 | int getMapKey(int key); |
24 | |
25 | #endif // AMLOGIC_UI_H |
26 |