diff options
Diffstat (limited to 'include/media/keycodes/proteus-2309.h')
-rw-r--r-- | include/media/keycodes/proteus-2309.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/include/media/keycodes/proteus-2309.h b/include/media/keycodes/proteus-2309.h new file mode 100644 index 000000000000..1993702ca557 --- /dev/null +++ b/include/media/keycodes/proteus-2309.h | |||
@@ -0,0 +1,45 @@ | |||
1 | /* proteus-2309.h - Keytable for proteus_2309 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 | /* Michal Majchrowicz <mmajchrowicz@gmail.com> */ | ||
12 | |||
13 | #ifdef IR_KEYMAPS | ||
14 | static struct ir_scancode proteus_2309[] = { | ||
15 | /* numeric */ | ||
16 | { 0x00, KEY_0 }, | ||
17 | { 0x01, KEY_1 }, | ||
18 | { 0x02, KEY_2 }, | ||
19 | { 0x03, KEY_3 }, | ||
20 | { 0x04, KEY_4 }, | ||
21 | { 0x05, KEY_5 }, | ||
22 | { 0x06, KEY_6 }, | ||
23 | { 0x07, KEY_7 }, | ||
24 | { 0x08, KEY_8 }, | ||
25 | { 0x09, KEY_9 }, | ||
26 | |||
27 | { 0x5c, KEY_POWER }, /* power */ | ||
28 | { 0x20, KEY_ZOOM }, /* full screen */ | ||
29 | { 0x0f, KEY_BACKSPACE }, /* recall */ | ||
30 | { 0x1b, KEY_ENTER }, /* mute */ | ||
31 | { 0x41, KEY_RECORD }, /* record */ | ||
32 | { 0x43, KEY_STOP }, /* stop */ | ||
33 | { 0x16, KEY_S }, | ||
34 | { 0x1a, KEY_POWER2 }, /* off */ | ||
35 | { 0x2e, KEY_RED }, | ||
36 | { 0x1f, KEY_CHANNELDOWN }, /* channel - */ | ||
37 | { 0x1c, KEY_CHANNELUP }, /* channel + */ | ||
38 | { 0x10, KEY_VOLUMEDOWN }, /* volume - */ | ||
39 | { 0x1e, KEY_VOLUMEUP }, /* volume + */ | ||
40 | { 0x14, KEY_F1 }, | ||
41 | }; | ||
42 | DEFINE_LEGACY_IR_KEYTABLE(proteus_2309); | ||
43 | #else | ||
44 | DECLARE_IR_KEYTABLE(proteus_2309); | ||
45 | #endif | ||