diff options
Diffstat (limited to 'include/media/keycodes/real-audio-220-32-keys.h')
-rw-r--r-- | include/media/keycodes/real-audio-220-32-keys.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/include/media/keycodes/real-audio-220-32-keys.h b/include/media/keycodes/real-audio-220-32-keys.h new file mode 100644 index 000000000000..5f6835dbe4c9 --- /dev/null +++ b/include/media/keycodes/real-audio-220-32-keys.h | |||
@@ -0,0 +1,54 @@ | |||
1 | /* real-audio-220-32-keys.h - Keytable for real_audio_220_32_keys 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 | /* Zogis Real Audio 220 - 32 keys IR */ | ||
12 | |||
13 | #ifdef IR_KEYMAPS | ||
14 | static struct ir_scancode real_audio_220_32_keys[] = { | ||
15 | { 0x1c, KEY_RADIO}, | ||
16 | { 0x12, KEY_POWER2}, | ||
17 | |||
18 | { 0x01, KEY_1}, | ||
19 | { 0x02, KEY_2}, | ||
20 | { 0x03, KEY_3}, | ||
21 | { 0x04, KEY_4}, | ||
22 | { 0x05, KEY_5}, | ||
23 | { 0x06, KEY_6}, | ||
24 | { 0x07, KEY_7}, | ||
25 | { 0x08, KEY_8}, | ||
26 | { 0x09, KEY_9}, | ||
27 | { 0x00, KEY_0}, | ||
28 | |||
29 | { 0x0c, KEY_VOLUMEUP}, | ||
30 | { 0x18, KEY_VOLUMEDOWN}, | ||
31 | { 0x0b, KEY_CHANNELUP}, | ||
32 | { 0x15, KEY_CHANNELDOWN}, | ||
33 | { 0x16, KEY_ENTER}, | ||
34 | |||
35 | { 0x11, KEY_LIST}, /* Source */ | ||
36 | { 0x0d, KEY_AUDIO}, /* stereo */ | ||
37 | |||
38 | { 0x0f, KEY_PREVIOUS}, /* Prev */ | ||
39 | { 0x1b, KEY_TIME}, /* Timeshift */ | ||
40 | { 0x1a, KEY_NEXT}, /* Next */ | ||
41 | |||
42 | { 0x0e, KEY_STOP}, | ||
43 | { 0x1f, KEY_PLAY}, | ||
44 | { 0x1e, KEY_PLAYPAUSE}, /* Pause */ | ||
45 | |||
46 | { 0x1d, KEY_RECORD}, | ||
47 | { 0x13, KEY_MUTE}, | ||
48 | { 0x19, KEY_CAMERA}, /* Snapshot */ | ||
49 | |||
50 | }; | ||
51 | DEFINE_LEGACY_IR_KEYTABLE(real_audio_220_32_keys); | ||
52 | #else | ||
53 | DECLARE_IR_KEYTABLE(real_audio_220_32_keys); | ||
54 | #endif | ||