blob: 1ef10af7802076f64acf9a950dd212b3e159622c [file] [log] [blame]
Mauro Carvalho Chehab77b74222010-04-01 22:43:29 -03001/* avertv-303.h - Keytable for avertv_303 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/* AVERTV STUDIO 303 Remote */
12
13#ifdef IR_KEYMAPS
14static struct ir_scancode avertv_303[] = {
15 { 0x2a, KEY_1 },
16 { 0x32, KEY_2 },
17 { 0x3a, KEY_3 },
18 { 0x4a, KEY_4 },
19 { 0x52, KEY_5 },
20 { 0x5a, KEY_6 },
21 { 0x6a, KEY_7 },
22 { 0x72, KEY_8 },
23 { 0x7a, KEY_9 },
24 { 0x0e, KEY_0 },
25
26 { 0x02, KEY_POWER },
27 { 0x22, KEY_VIDEO },
28 { 0x42, KEY_AUDIO },
29 { 0x62, KEY_ZOOM },
30 { 0x0a, KEY_TV },
31 { 0x12, KEY_CD },
32 { 0x1a, KEY_TEXT },
33
34 { 0x16, KEY_SUBTITLE },
35 { 0x1e, KEY_REWIND },
36 { 0x06, KEY_PRINT },
37
38 { 0x2e, KEY_SEARCH },
39 { 0x36, KEY_SLEEP },
40 { 0x3e, KEY_SHUFFLE },
41 { 0x26, KEY_MUTE },
42
43 { 0x4e, KEY_RECORD },
44 { 0x56, KEY_PAUSE },
45 { 0x5e, KEY_STOP },
46 { 0x46, KEY_PLAY },
47
48 { 0x6e, KEY_RED },
49 { 0x0b, KEY_GREEN },
50 { 0x66, KEY_YELLOW },
51 { 0x03, KEY_BLUE },
52
53 { 0x76, KEY_LEFT },
54 { 0x7e, KEY_RIGHT },
55 { 0x13, KEY_DOWN },
56 { 0x1b, KEY_UP },
57};
58DEFINE_LEGACY_IR_KEYTABLE(avertv_303);
59#else
60DECLARE_IR_KEYTABLE(avertv_303);
61#endif