diff options
Diffstat (limited to 'include/media/keycodes/evga-indtube.h')
-rw-r--r-- | include/media/keycodes/evga-indtube.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/include/media/keycodes/evga-indtube.h b/include/media/keycodes/evga-indtube.h new file mode 100644 index 000000000000..2aab58d75037 --- /dev/null +++ b/include/media/keycodes/evga-indtube.h | |||
@@ -0,0 +1,37 @@ | |||
1 | /* evga-indtube.h - Keytable for evga_indtube 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 | /* EVGA inDtube | ||
12 | Devin Heitmueller <devin.heitmueller@gmail.com> | ||
13 | */ | ||
14 | |||
15 | #ifdef IR_KEYMAPS | ||
16 | static struct ir_scancode evga_indtube[] = { | ||
17 | { 0x12, KEY_POWER}, | ||
18 | { 0x02, KEY_MODE}, /* TV */ | ||
19 | { 0x14, KEY_MUTE}, | ||
20 | { 0x1a, KEY_CHANNELUP}, | ||
21 | { 0x16, KEY_TV2}, /* PIP */ | ||
22 | { 0x1d, KEY_VOLUMEUP}, | ||
23 | { 0x05, KEY_CHANNELDOWN}, | ||
24 | { 0x0f, KEY_PLAYPAUSE}, | ||
25 | { 0x19, KEY_VOLUMEDOWN}, | ||
26 | { 0x1c, KEY_REWIND}, | ||
27 | { 0x0d, KEY_RECORD}, | ||
28 | { 0x18, KEY_FORWARD}, | ||
29 | { 0x1e, KEY_PREVIOUS}, | ||
30 | { 0x1b, KEY_STOP}, | ||
31 | { 0x1f, KEY_NEXT}, | ||
32 | { 0x13, KEY_CAMERA}, | ||
33 | }; | ||
34 | DEFINE_LEGACY_IR_KEYTABLE(evga_indtube); | ||
35 | #else | ||
36 | DECLARE_IR_KEYTABLE(evga_indtube); | ||
37 | #endif | ||