aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/keycodes/pixelview-new.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/keycodes/pixelview-new.h')
-rw-r--r--include/media/keycodes/pixelview-new.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/include/media/keycodes/pixelview-new.h b/include/media/keycodes/pixelview-new.h
new file mode 100644
index 000000000000..76ed0c35752b
--- /dev/null
+++ b/include/media/keycodes/pixelview-new.h
@@ -0,0 +1,59 @@
1/* pixelview-new.h - Keytable for pixelview_new 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 Mauro Carvalho Chehab <mchehab@infradead.org>
13 present on PV MPEG 8000GT
14 */
15
16#ifdef IR_KEYMAPS
17static struct ir_scancode pixelview_new[] = {
18 { 0x3c, KEY_TIME }, /* Timeshift */
19 { 0x12, KEY_POWER },
20
21 { 0x3d, KEY_1 },
22 { 0x38, KEY_2 },
23 { 0x18, KEY_3 },
24 { 0x35, KEY_4 },
25 { 0x39, KEY_5 },
26 { 0x15, KEY_6 },
27 { 0x36, KEY_7 },
28 { 0x3a, KEY_8 },
29 { 0x1e, KEY_9 },
30 { 0x3e, KEY_0 },
31
32 { 0x1c, KEY_AGAIN }, /* LOOP */
33 { 0x3f, KEY_MEDIA }, /* Source */
34 { 0x1f, KEY_LAST }, /* +100 */
35 { 0x1b, KEY_MUTE },
36
37 { 0x17, KEY_CHANNELDOWN },
38 { 0x16, KEY_CHANNELUP },
39 { 0x10, KEY_VOLUMEUP },
40 { 0x14, KEY_VOLUMEDOWN },
41 { 0x13, KEY_ZOOM },
42
43 { 0x19, KEY_CAMERA }, /* SNAPSHOT */
44 { 0x1a, KEY_SEARCH }, /* scan */
45
46 { 0x37, KEY_REWIND }, /* << */
47 { 0x32, KEY_RECORD }, /* o (red) */
48 { 0x33, KEY_FORWARD }, /* >> */
49 { 0x11, KEY_STOP }, /* square */
50 { 0x3b, KEY_PLAY }, /* > */
51 { 0x30, KEY_PLAYPAUSE }, /* || */
52
53 { 0x31, KEY_TV },
54 { 0x34, KEY_RADIO },
55};
56DEFINE_LEGACY_IR_KEYTABLE(pixelview_new);
57#else
58DECLARE_IR_KEYTABLE(pixelview_new);
59#endif