aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/keycodes/evga-indtube.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-04-01 21:43:29 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 11:56:48 -0400
commit77b7422d48cda9b8e5dabb7f4bc056861c5ed4fe (patch)
treeaca1f3329b8d836973cc303081e24df66bac1c0d /include/media/keycodes/evga-indtube.h
parentdce4a3e3b228fd31bcfd2d84e673bc08b553e6cc (diff)
V4L/DVB: ir-common: move IR tables from ir-keymaps.c to a separate file
Instead of having one big file with lots of keytables, create one include file for each IR keymap. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/keycodes/evga-indtube.h')
-rw-r--r--include/media/keycodes/evga-indtube.h37
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
16static 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};
34DEFINE_LEGACY_IR_KEYTABLE(evga_indtube);
35#else
36DECLARE_IR_KEYTABLE(evga_indtube);
37#endif