diff options
Diffstat (limited to 'include/media/keycodes/gadmei-rm008z.h')
-rw-r--r-- | include/media/keycodes/gadmei-rm008z.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/include/media/keycodes/gadmei-rm008z.h b/include/media/keycodes/gadmei-rm008z.h new file mode 100644 index 000000000000..b73d3e5d7292 --- /dev/null +++ b/include/media/keycodes/gadmei-rm008z.h | |||
@@ -0,0 +1,57 @@ | |||
1 | /* gadmei-rm008z.h - Keytable for gadmei_rm008z Remote Controller | ||
2 | * | ||
3 | * Imported from ir-keymaps.c | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | */ | ||
10 | |||
11 | /* GADMEI UTV330+ RM008Z remote | ||
12 | Shine Liu <shinel@foxmail.com> | ||
13 | */ | ||
14 | |||
15 | #ifdef IR_KEYMAPS | ||
16 | static struct ir_scancode gadmei_rm008z[] = { | ||
17 | { 0x14, KEY_POWER2}, /* POWER OFF */ | ||
18 | { 0x0c, KEY_MUTE}, /* MUTE */ | ||
19 | |||
20 | { 0x18, KEY_TV}, /* TV */ | ||
21 | { 0x0e, KEY_VIDEO}, /* AV */ | ||
22 | { 0x0b, KEY_AUDIO}, /* SV */ | ||
23 | { 0x0f, KEY_RADIO}, /* FM */ | ||
24 | |||
25 | { 0x00, KEY_1}, | ||
26 | { 0x01, KEY_2}, | ||
27 | { 0x02, KEY_3}, | ||
28 | { 0x03, KEY_4}, | ||
29 | { 0x04, KEY_5}, | ||
30 | { 0x05, KEY_6}, | ||
31 | { 0x06, KEY_7}, | ||
32 | { 0x07, KEY_8}, | ||
33 | { 0x08, KEY_9}, | ||
34 | { 0x09, KEY_0}, | ||
35 | { 0x0a, KEY_INFO}, /* OSD */ | ||
36 | { 0x1c, KEY_BACKSPACE}, /* LAST */ | ||
37 | |||
38 | { 0x0d, KEY_PLAY}, /* PLAY */ | ||
39 | { 0x1e, KEY_CAMERA}, /* SNAPSHOT */ | ||
40 | { 0x1a, KEY_RECORD}, /* RECORD */ | ||
41 | { 0x17, KEY_STOP}, /* STOP */ | ||
42 | |||
43 | { 0x1f, KEY_UP}, /* UP */ | ||
44 | { 0x44, KEY_DOWN}, /* DOWN */ | ||
45 | { 0x46, KEY_TAB}, /* BACK */ | ||
46 | { 0x4a, KEY_ZOOM}, /* FULLSECREEN */ | ||
47 | |||
48 | { 0x10, KEY_VOLUMEUP}, /* VOLUMEUP */ | ||
49 | { 0x11, KEY_VOLUMEDOWN}, /* VOLUMEDOWN */ | ||
50 | { 0x12, KEY_CHANNELUP}, /* CHANNELUP */ | ||
51 | { 0x13, KEY_CHANNELDOWN}, /* CHANNELDOWN */ | ||
52 | { 0x15, KEY_ENTER}, /* OK */ | ||
53 | }; | ||
54 | DEFINE_LEGACY_IR_KEYTABLE(gadmei_rm008z); | ||
55 | #else | ||
56 | DECLARE_IR_KEYTABLE(gadmei_rm008z); | ||
57 | #endif | ||