aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/keycodes/avermedia-m135a-rm-jx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/keycodes/avermedia-m135a-rm-jx.h')
-rw-r--r--include/media/keycodes/avermedia-m135a-rm-jx.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/include/media/keycodes/avermedia-m135a-rm-jx.h b/include/media/keycodes/avermedia-m135a-rm-jx.h
new file mode 100644
index 000000000000..1158598994cf
--- /dev/null
+++ b/include/media/keycodes/avermedia-m135a-rm-jx.h
@@ -0,0 +1,66 @@
1/* avermedia-m135a-rm-jx.h - Keytable for avermedia_m135a_rm_jx 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 * Avermedia M135A with IR model RM-JX
13 * The same codes exist on both Positivo (BR) and original IR
14 * Mauro Carvalho Chehab <mchehab@infradead.org>
15 */
16
17#ifdef IR_KEYMAPS
18static struct ir_scancode avermedia_m135a_rm_jx[] = {
19 { 0x0200, KEY_POWER2 },
20 { 0x022e, KEY_DOT }, /* '.' */
21 { 0x0201, KEY_MODE }, /* TV/FM or SOURCE */
22
23 { 0x0205, KEY_1 },
24 { 0x0206, KEY_2 },
25 { 0x0207, KEY_3 },
26 { 0x0209, KEY_4 },
27 { 0x020a, KEY_5 },
28 { 0x020b, KEY_6 },
29 { 0x020d, KEY_7 },
30 { 0x020e, KEY_8 },
31 { 0x020f, KEY_9 },
32 { 0x0211, KEY_0 },
33
34 { 0x0213, KEY_RIGHT }, /* -> or L */
35 { 0x0212, KEY_LEFT }, /* <- or R */
36
37 { 0x0217, KEY_SLEEP }, /* Capturar Imagem or Snapshot */
38 { 0x0210, KEY_SHUFFLE }, /* Amostra or 16 chan prev */
39
40 { 0x0303, KEY_CHANNELUP },
41 { 0x0302, KEY_CHANNELDOWN },
42 { 0x021f, KEY_VOLUMEUP },
43 { 0x021e, KEY_VOLUMEDOWN },
44 { 0x020c, KEY_ENTER }, /* Full Screen */
45
46 { 0x0214, KEY_MUTE },
47 { 0x0208, KEY_AUDIO },
48
49 { 0x0203, KEY_TEXT }, /* Teletext */
50 { 0x0204, KEY_EPG },
51 { 0x022b, KEY_TV2 }, /* TV2 or PIP */
52
53 { 0x021d, KEY_RED },
54 { 0x021c, KEY_YELLOW },
55 { 0x0301, KEY_GREEN },
56 { 0x0300, KEY_BLUE },
57
58 { 0x021a, KEY_PLAYPAUSE },
59 { 0x0219, KEY_RECORD },
60 { 0x0218, KEY_PLAY },
61 { 0x021b, KEY_STOP },
62};
63DEFINE_IR_KEYTABLE(avermedia_m135a_rm_jx, IR_TYPE_NEC);
64#else
65DECLARE_IR_KEYTABLE(avermedia_m135a_rm_jx);
66#endif