]>
Commit | Line | Data |
---|---|---|
77b7422d MCC |
1 | /* encore-enltv2.h - Keytable for encore_enltv2 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 | /* Encore ENLTV2-FM - silver plastic - "Wand Media" written at the botton | |
12 | Mauro Carvalho Chehab <mchehab@infradead.org> */ | |
13 | ||
14 | #ifdef IR_KEYMAPS | |
15 | static struct ir_scancode encore_enltv2[] = { | |
16 | { 0x4c, KEY_POWER2 }, | |
17 | { 0x4a, KEY_TUNER }, | |
18 | { 0x40, KEY_1 }, | |
19 | { 0x60, KEY_2 }, | |
20 | { 0x50, KEY_3 }, | |
21 | { 0x70, KEY_4 }, | |
22 | { 0x48, KEY_5 }, | |
23 | { 0x68, KEY_6 }, | |
24 | { 0x58, KEY_7 }, | |
25 | { 0x78, KEY_8 }, | |
26 | { 0x44, KEY_9 }, | |
27 | { 0x54, KEY_0 }, | |
28 | ||
29 | { 0x64, KEY_LAST }, /* +100 */ | |
30 | { 0x4e, KEY_AGAIN }, /* Recall */ | |
31 | ||
32 | { 0x6c, KEY_SWITCHVIDEOMODE }, /* Video Source */ | |
33 | { 0x5e, KEY_MENU }, | |
34 | { 0x56, KEY_SCREEN }, | |
35 | { 0x7a, KEY_SETUP }, | |
36 | ||
37 | { 0x46, KEY_MUTE }, | |
38 | { 0x5c, KEY_MODE }, /* Stereo */ | |
39 | { 0x74, KEY_INFO }, | |
40 | { 0x7c, KEY_CLEAR }, | |
41 | ||
42 | { 0x55, KEY_UP }, | |
43 | { 0x49, KEY_DOWN }, | |
44 | { 0x7e, KEY_LEFT }, | |
45 | { 0x59, KEY_RIGHT }, | |
46 | { 0x6a, KEY_ENTER }, | |
47 | ||
48 | { 0x42, KEY_VOLUMEUP }, | |
49 | { 0x62, KEY_VOLUMEDOWN }, | |
50 | { 0x52, KEY_CHANNELUP }, | |
51 | { 0x72, KEY_CHANNELDOWN }, | |
52 | ||
53 | { 0x41, KEY_RECORD }, | |
54 | { 0x51, KEY_CAMERA }, /* Snapshot */ | |
55 | { 0x75, KEY_TIME }, /* Timeshift */ | |
56 | { 0x71, KEY_TV2 }, /* PIP */ | |
57 | ||
58 | { 0x45, KEY_REWIND }, | |
59 | { 0x6f, KEY_PAUSE }, | |
60 | { 0x7d, KEY_FORWARD }, | |
61 | { 0x79, KEY_STOP }, | |
62 | }; | |
63 | DEFINE_LEGACY_IR_KEYTABLE(encore_enltv2); | |
64 | #else | |
65 | DECLARE_IR_KEYTABLE(encore_enltv2); | |
66 | #endif |