-
Notifications
You must be signed in to change notification settings - Fork 1
/
mappings.h
48 lines (39 loc) · 1.26 KB
/
mappings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/***************************************************
* Button mappings
*
* Change the key values according to linux/input.h
* and then rebuild the driver
***************************************************/
/* Power button */
#define BUTTON_POWER KEY_POWER
/* Play, rewind, forward buttons */
#define BUTTON_REWIND KEY_REWIND
#define BUTTON_PLAYPAUSE KEY_PLAYPAUSE
#define BUTTON_FORWARD KEY_FASTFORWARD
/* Previous, stop, next buttons */
#define BUTTON_PREVIOUS KEY_PREVIOUS
#define BUTTON_STOP KEY_STOP
#define BUTTON_NEXT KEY_NEXT
/* Volume buttons */
#define BUTTON_MUTE KEY_MUTE
#define BUTTON_VOLUMEUP KEY_VOLUMEUP
#define BUTTON_VOLUMEDOWN KEY_VOLUMEDOWN
/* Arrow buttons */
#define BUTTON_RIGHT KEY_RIGHT
#define BUTTON_LEFT KEY_LEFT
#define BUTTON_DOWN KEY_DOWN
#define BUTTON_UP KEY_UP
/* OK button */
#define BUTTON_OK KEY_ENTER
/* Back button */
#define BUTTON_BACK KEY_BACKSPACE
/* Special buttons from left to right counter clockwise*/
#define BUTTON_HOME KEY_ESC
#define BUTTON_WINDOWS KEY_PROGRAM
#define BUTTON_RADIO KEY_MEDIA
#define BUTTON_MUSIC KEY_LANGUAGE
#define BUTTON_DTS KEY_SUBTITLE
#define BUTTON_TRANQUIL KEY_INFO
#define BUTTON_FULLSCREEN KEY_ZOOM
/* Middle special button */
#define BUTTON_HOMETHEATER KEY_MENU