aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/keycodes/videomate-tv-pvr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/keycodes/videomate-tv-pvr.h')
-rw-r--r--include/media/keycodes/videomate-tv-pvr.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/include/media/keycodes/videomate-tv-pvr.h b/include/media/keycodes/videomate-tv-pvr.h
new file mode 100644
index 000000000000..f77375d3ba44
--- /dev/null
+++ b/include/media/keycodes/videomate-tv-pvr.h
@@ -0,0 +1,64 @@
1/* videomate-tv-pvr.h - Keytable for videomate_tv_pvr 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
12#ifdef IR_KEYMAPS
13static struct ir_scancode videomate_tv_pvr[] = {
14 { 0x14, KEY_MUTE },
15 { 0x24, KEY_ZOOM },
16
17 { 0x01, KEY_DVD },
18 { 0x23, KEY_RADIO },
19 { 0x00, KEY_TV },
20
21 { 0x0a, KEY_REWIND },
22 { 0x08, KEY_PLAYPAUSE },
23 { 0x0f, KEY_FORWARD },
24
25 { 0x02, KEY_PREVIOUS },
26 { 0x07, KEY_STOP },
27 { 0x06, KEY_NEXT },
28
29 { 0x0c, KEY_UP },
30 { 0x0e, KEY_DOWN },
31 { 0x0b, KEY_LEFT },
32 { 0x0d, KEY_RIGHT },
33 { 0x11, KEY_OK },
34
35 { 0x03, KEY_MENU },
36 { 0x09, KEY_SETUP },
37 { 0x05, KEY_VIDEO },
38 { 0x22, KEY_CHANNEL },
39
40 { 0x12, KEY_VOLUMEUP },
41 { 0x15, KEY_VOLUMEDOWN },
42 { 0x10, KEY_CHANNELUP },
43 { 0x13, KEY_CHANNELDOWN },
44
45 { 0x04, KEY_RECORD },
46
47 { 0x16, KEY_1 },
48 { 0x17, KEY_2 },
49 { 0x18, KEY_3 },
50 { 0x19, KEY_4 },
51 { 0x1a, KEY_5 },
52 { 0x1b, KEY_6 },
53 { 0x1c, KEY_7 },
54 { 0x1d, KEY_8 },
55 { 0x1e, KEY_9 },
56 { 0x1f, KEY_0 },
57
58 { 0x20, KEY_LANGUAGE },
59 { 0x21, KEY_SLEEP },
60};
61DEFINE_LEGACY_IR_KEYTABLE(videomate_tv_pvr);
62#else
63DECLARE_IR_KEYTABLE(videomate_tv_pvr);
64#endif