diff options
Diffstat (limited to 'include/media/keycodes/msi-tvanywhere-plus.h')
-rw-r--r-- | include/media/keycodes/msi-tvanywhere-plus.h | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/include/media/keycodes/msi-tvanywhere-plus.h b/include/media/keycodes/msi-tvanywhere-plus.h deleted file mode 100644 index c5e51ad55976..000000000000 --- a/include/media/keycodes/msi-tvanywhere-plus.h +++ /dev/null | |||
@@ -1,100 +0,0 @@ | |||
1 | /* msi-tvanywhere-plus.h - Keytable for msi_tvanywhere_plus 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 | Keycodes for remote on the MSI TV@nywhere Plus. The controller IC on the card | ||
13 | is marked "KS003". The controller is I2C at address 0x30, but does not seem | ||
14 | to respond to probes until a read is performed from a valid device. | ||
15 | I don't know why... | ||
16 | |||
17 | Note: This remote may be of similar or identical design to the | ||
18 | Pixelview remote (?). The raw codes and duplicate button codes | ||
19 | appear to be the same. | ||
20 | |||
21 | Henry Wong <henry@stuffedcow.net> | ||
22 | Some changes to formatting and keycodes by Mark Schultz <n9xmj@yahoo.com> | ||
23 | |||
24 | */ | ||
25 | |||
26 | #ifdef IR_KEYMAPS | ||
27 | static struct ir_scancode msi_tvanywhere_plus[] = { | ||
28 | |||
29 | /* ---- Remote Button Layout ---- | ||
30 | |||
31 | POWER SOURCE SCAN MUTE | ||
32 | TV/FM 1 2 3 | ||
33 | |> 4 5 6 | ||
34 | <| 7 8 9 | ||
35 | ^^UP 0 + RECALL | ||
36 | vvDN RECORD STOP PLAY | ||
37 | |||
38 | MINIMIZE ZOOM | ||
39 | |||
40 | CH+ | ||
41 | VOL- VOL+ | ||
42 | CH- | ||
43 | |||
44 | SNAPSHOT MTS | ||
45 | |||
46 | << FUNC >> RESET | ||
47 | */ | ||
48 | |||
49 | { 0x01, KEY_1 }, /* 1 */ | ||
50 | { 0x0b, KEY_2 }, /* 2 */ | ||
51 | { 0x1b, KEY_3 }, /* 3 */ | ||
52 | { 0x05, KEY_4 }, /* 4 */ | ||
53 | { 0x09, KEY_5 }, /* 5 */ | ||
54 | { 0x15, KEY_6 }, /* 6 */ | ||
55 | { 0x06, KEY_7 }, /* 7 */ | ||
56 | { 0x0a, KEY_8 }, /* 8 */ | ||
57 | { 0x12, KEY_9 }, /* 9 */ | ||
58 | { 0x02, KEY_0 }, /* 0 */ | ||
59 | { 0x10, KEY_KPPLUS }, /* + */ | ||
60 | { 0x13, KEY_AGAIN }, /* Recall */ | ||
61 | |||
62 | { 0x1e, KEY_POWER }, /* Power */ | ||
63 | { 0x07, KEY_TUNER }, /* Source */ | ||
64 | { 0x1c, KEY_SEARCH }, /* Scan */ | ||
65 | { 0x18, KEY_MUTE }, /* Mute */ | ||
66 | |||
67 | { 0x03, KEY_RADIO }, /* TV/FM */ | ||
68 | /* The next four keys are duplicates that appear to send the | ||
69 | same IR code as Ch+, Ch-, >>, and << . The raw code assigned | ||
70 | to them is the actual code + 0x20 - they will never be | ||
71 | detected as such unless some way is discovered to distinguish | ||
72 | these buttons from those that have the same code. */ | ||
73 | { 0x3f, KEY_RIGHT }, /* |> and Ch+ */ | ||
74 | { 0x37, KEY_LEFT }, /* <| and Ch- */ | ||
75 | { 0x2c, KEY_UP }, /* ^^Up and >> */ | ||
76 | { 0x24, KEY_DOWN }, /* vvDn and << */ | ||
77 | |||
78 | { 0x00, KEY_RECORD }, /* Record */ | ||
79 | { 0x08, KEY_STOP }, /* Stop */ | ||
80 | { 0x11, KEY_PLAY }, /* Play */ | ||
81 | |||
82 | { 0x0f, KEY_CLOSE }, /* Minimize */ | ||
83 | { 0x19, KEY_ZOOM }, /* Zoom */ | ||
84 | { 0x1a, KEY_CAMERA }, /* Snapshot */ | ||
85 | { 0x0d, KEY_LANGUAGE }, /* MTS */ | ||
86 | |||
87 | { 0x14, KEY_VOLUMEDOWN }, /* Vol- */ | ||
88 | { 0x16, KEY_VOLUMEUP }, /* Vol+ */ | ||
89 | { 0x17, KEY_CHANNELDOWN }, /* Ch- */ | ||
90 | { 0x1f, KEY_CHANNELUP }, /* Ch+ */ | ||
91 | |||
92 | { 0x04, KEY_REWIND }, /* << */ | ||
93 | { 0x0e, KEY_MENU }, /* Function */ | ||
94 | { 0x0c, KEY_FASTFORWARD }, /* >> */ | ||
95 | { 0x1d, KEY_RESTART }, /* Reset */ | ||
96 | }; | ||
97 | DEFINE_LEGACY_IR_KEYTABLE(msi_tvanywhere_plus); | ||
98 | #else | ||
99 | DECLARE_IR_KEYTABLE(msi_tvanywhere_plus); | ||
100 | #endif | ||