aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/keycodes/pv951.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/keycodes/pv951.h')
-rw-r--r--include/media/keycodes/pv951.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/include/media/keycodes/pv951.h b/include/media/keycodes/pv951.h
new file mode 100644
index 000000000000..33a8bf7b9080
--- /dev/null
+++ b/include/media/keycodes/pv951.h
@@ -0,0 +1,54 @@
1/* pv951.h - Keytable for pv951 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/* Mark Phalan <phalanm@o2.ie> */
12
13#ifdef IR_KEYMAPS
14static struct ir_scancode pv951[] = {
15 { 0x00, KEY_0 },
16 { 0x01, KEY_1 },
17 { 0x02, KEY_2 },
18 { 0x03, KEY_3 },
19 { 0x04, KEY_4 },
20 { 0x05, KEY_5 },
21 { 0x06, KEY_6 },
22 { 0x07, KEY_7 },
23 { 0x08, KEY_8 },
24 { 0x09, KEY_9 },
25
26 { 0x12, KEY_POWER },
27 { 0x10, KEY_MUTE },
28 { 0x1f, KEY_VOLUMEDOWN },
29 { 0x1b, KEY_VOLUMEUP },
30 { 0x1a, KEY_CHANNELUP },
31 { 0x1e, KEY_CHANNELDOWN },
32 { 0x0e, KEY_PAGEUP },
33 { 0x1d, KEY_PAGEDOWN },
34 { 0x13, KEY_SOUND },
35
36 { 0x18, KEY_KPPLUSMINUS }, /* CH +/- */
37 { 0x16, KEY_SUBTITLE }, /* CC */
38 { 0x0d, KEY_TEXT }, /* TTX */
39 { 0x0b, KEY_TV }, /* AIR/CBL */
40 { 0x11, KEY_PC }, /* PC/TV */
41 { 0x17, KEY_OK }, /* CH RTN */
42 { 0x19, KEY_MODE }, /* FUNC */
43 { 0x0c, KEY_SEARCH }, /* AUTOSCAN */
44
45 /* Not sure what to do with these ones! */
46 { 0x0f, KEY_SELECT }, /* SOURCE */
47 { 0x0a, KEY_KPPLUS }, /* +100 */
48 { 0x14, KEY_EQUAL }, /* SYNC */
49 { 0x1c, KEY_MEDIA }, /* PC/TV */
50};
51DEFINE_LEGACY_IR_KEYTABLE(pv951);
52#else
53DECLARE_IR_KEYTABLE(pv951);
54#endif