diff options
Diffstat (limited to 'include/media/keycodes/manli.h')
-rw-r--r-- | include/media/keycodes/manli.h | 111 |
1 files changed, 0 insertions, 111 deletions
diff --git a/include/media/keycodes/manli.h b/include/media/keycodes/manli.h deleted file mode 100644 index 9f8e752505c..00000000000 --- a/include/media/keycodes/manli.h +++ /dev/null | |||
@@ -1,111 +0,0 @@ | |||
1 | /* manli.h - Keytable for manli 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 | /* Michael Tokarev <mjt@tls.msk.ru> | ||
12 | http://www.corpit.ru/mjt/beholdTV/remote_control.jpg | ||
13 | keytable is used by MANLI MTV00[0x0c] and BeholdTV 40[13] at | ||
14 | least, and probably other cards too. | ||
15 | The "ascii-art picture" below (in comments, first row | ||
16 | is the keycode in hex, and subsequent row(s) shows | ||
17 | the button labels (several variants when appropriate) | ||
18 | helps to descide which keycodes to assign to the buttons. | ||
19 | */ | ||
20 | |||
21 | #ifdef IR_KEYMAPS | ||
22 | static struct ir_scancode manli[] = { | ||
23 | |||
24 | /* 0x1c 0x12 * | ||
25 | * FUNCTION POWER * | ||
26 | * FM (|) * | ||
27 | * */ | ||
28 | { 0x1c, KEY_RADIO }, /*XXX*/ | ||
29 | { 0x12, KEY_POWER }, | ||
30 | |||
31 | /* 0x01 0x02 0x03 * | ||
32 | * 1 2 3 * | ||
33 | * * | ||
34 | * 0x04 0x05 0x06 * | ||
35 | * 4 5 6 * | ||
36 | * * | ||
37 | * 0x07 0x08 0x09 * | ||
38 | * 7 8 9 * | ||
39 | * */ | ||
40 | { 0x01, KEY_1 }, | ||
41 | { 0x02, KEY_2 }, | ||
42 | { 0x03, KEY_3 }, | ||
43 | { 0x04, KEY_4 }, | ||
44 | { 0x05, KEY_5 }, | ||
45 | { 0x06, KEY_6 }, | ||
46 | { 0x07, KEY_7 }, | ||
47 | { 0x08, KEY_8 }, | ||
48 | { 0x09, KEY_9 }, | ||
49 | |||
50 | /* 0x0a 0x00 0x17 * | ||
51 | * RECALL 0 +100 * | ||
52 | * PLUS * | ||
53 | * */ | ||
54 | { 0x0a, KEY_AGAIN }, /*XXX KEY_REWIND? */ | ||
55 | { 0x00, KEY_0 }, | ||
56 | { 0x17, KEY_DIGITS }, /*XXX*/ | ||
57 | |||
58 | /* 0x14 0x10 * | ||
59 | * MENU INFO * | ||
60 | * OSD */ | ||
61 | { 0x14, KEY_MENU }, | ||
62 | { 0x10, KEY_INFO }, | ||
63 | |||
64 | /* 0x0b * | ||
65 | * Up * | ||
66 | * * | ||
67 | * 0x18 0x16 0x0c * | ||
68 | * Left Ok Right * | ||
69 | * * | ||
70 | * 0x015 * | ||
71 | * Down * | ||
72 | * */ | ||
73 | { 0x0b, KEY_UP }, | ||
74 | { 0x18, KEY_LEFT }, | ||
75 | { 0x16, KEY_OK }, /*XXX KEY_SELECT? KEY_ENTER? */ | ||
76 | { 0x0c, KEY_RIGHT }, | ||
77 | { 0x15, KEY_DOWN }, | ||
78 | |||
79 | /* 0x11 0x0d * | ||
80 | * TV/AV MODE * | ||
81 | * SOURCE STEREO * | ||
82 | * */ | ||
83 | { 0x11, KEY_TV }, /*XXX*/ | ||
84 | { 0x0d, KEY_MODE }, /*XXX there's no KEY_STEREO */ | ||
85 | |||
86 | /* 0x0f 0x1b 0x1a * | ||
87 | * AUDIO Vol+ Chan+ * | ||
88 | * TIMESHIFT??? * | ||
89 | * * | ||
90 | * 0x0e 0x1f 0x1e * | ||
91 | * SLEEP Vol- Chan- * | ||
92 | * */ | ||
93 | { 0x0f, KEY_AUDIO }, | ||
94 | { 0x1b, KEY_VOLUMEUP }, | ||
95 | { 0x1a, KEY_CHANNELUP }, | ||
96 | { 0x0e, KEY_TIME }, | ||
97 | { 0x1f, KEY_VOLUMEDOWN }, | ||
98 | { 0x1e, KEY_CHANNELDOWN }, | ||
99 | |||
100 | /* 0x13 0x19 * | ||
101 | * MUTE SNAPSHOT* | ||
102 | * */ | ||
103 | { 0x13, KEY_MUTE }, | ||
104 | { 0x19, KEY_CAMERA }, | ||
105 | |||
106 | /* 0x1d unused ? */ | ||
107 | }; | ||
108 | DEFINE_LEGACY_IR_KEYTABLE(manli); | ||
109 | #else | ||
110 | DECLARE_IR_KEYTABLE(manli); | ||
111 | #endif | ||