aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/keycodes/iodata-bctv7e.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/keycodes/iodata-bctv7e.h')
-rw-r--r--include/media/keycodes/iodata-bctv7e.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/include/media/keycodes/iodata-bctv7e.h b/include/media/keycodes/iodata-bctv7e.h
new file mode 100644
index 000000000000..6dea92a8f3a7
--- /dev/null
+++ b/include/media/keycodes/iodata-bctv7e.h
@@ -0,0 +1,64 @@
1/* iodata-bctv7e.h - Keytable for iodata_bctv7e 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/* IO-DATA BCTV7E Remote */
12
13#ifdef IR_KEYMAPS
14static struct ir_scancode iodata_bctv7e[] = {
15 { 0x40, KEY_TV },
16 { 0x20, KEY_RADIO }, /* FM */
17 { 0x60, KEY_EPG },
18 { 0x00, KEY_POWER },
19
20 /* Keys 0 to 9 */
21 { 0x44, KEY_0 }, /* 10 */
22 { 0x50, KEY_1 },
23 { 0x30, KEY_2 },
24 { 0x70, KEY_3 },
25 { 0x48, KEY_4 },
26 { 0x28, KEY_5 },
27 { 0x68, KEY_6 },
28 { 0x58, KEY_7 },
29 { 0x38, KEY_8 },
30 { 0x78, KEY_9 },
31
32 { 0x10, KEY_L }, /* Live */
33 { 0x08, KEY_TIME }, /* Time Shift */
34
35 { 0x18, KEY_PLAYPAUSE }, /* Play */
36
37 { 0x24, KEY_ENTER }, /* 11 */
38 { 0x64, KEY_ESC }, /* 12 */
39 { 0x04, KEY_M }, /* Multi */
40
41 { 0x54, KEY_VIDEO },
42 { 0x34, KEY_CHANNELUP },
43 { 0x74, KEY_VOLUMEUP },
44 { 0x14, KEY_MUTE },
45
46 { 0x4c, KEY_VCR }, /* SVIDEO */
47 { 0x2c, KEY_CHANNELDOWN },
48 { 0x6c, KEY_VOLUMEDOWN },
49 { 0x0c, KEY_ZOOM },
50
51 { 0x5c, KEY_PAUSE },
52 { 0x3c, KEY_RED }, /* || (red) */
53 { 0x7c, KEY_RECORD }, /* recording */
54 { 0x1c, KEY_STOP },
55
56 { 0x41, KEY_REWIND }, /* backward << */
57 { 0x21, KEY_PLAY },
58 { 0x61, KEY_FASTFORWARD }, /* forward >> */
59 { 0x01, KEY_NEXT }, /* skip >| */
60};
61DEFINE_LEGACY_IR_KEYTABLE(iodata_bctv7e);
62#else
63DECLARE_IR_KEYTABLE(iodata_bctv7e);
64#endif