summaryrefslogtreecommitdiff
path: root/recovery/ui/amlogic_ui.h (plain)
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
9struct KeyMapItem_t {
10 const char* type;
11 int value;
12 int key[6];
13};
14
15struct CtrlInfo_t {
16 const char *type;
17 int value;
18};
19
20void fb_set();
21int getKey(char *key);
22void load_key_map();
23int getMapKey(int key);
24
25#endif // AMLOGIC_UI_H
26