diff options
Diffstat (limited to 'include/media/keycodes/flyvideo.h')
-rw-r--r-- | include/media/keycodes/flyvideo.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/include/media/keycodes/flyvideo.h b/include/media/keycodes/flyvideo.h new file mode 100644 index 000000000000..5c52f92d039c --- /dev/null +++ b/include/media/keycodes/flyvideo.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /* flyvideo.h - Keytable for flyvideo 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 | #ifdef IR_KEYMAPS | ||
13 | static struct ir_scancode flyvideo[] = { | ||
14 | { 0x0f, KEY_0 }, | ||
15 | { 0x03, KEY_1 }, | ||
16 | { 0x04, KEY_2 }, | ||
17 | { 0x05, KEY_3 }, | ||
18 | { 0x07, KEY_4 }, | ||
19 | { 0x08, KEY_5 }, | ||
20 | { 0x09, KEY_6 }, | ||
21 | { 0x0b, KEY_7 }, | ||
22 | { 0x0c, KEY_8 }, | ||
23 | { 0x0d, KEY_9 }, | ||
24 | |||
25 | { 0x0e, KEY_MODE }, /* Air/Cable */ | ||
26 | { 0x11, KEY_VIDEO }, /* Video */ | ||
27 | { 0x15, KEY_AUDIO }, /* Audio */ | ||
28 | { 0x00, KEY_POWER }, /* Power */ | ||
29 | { 0x18, KEY_TUNER }, /* AV Source */ | ||
30 | { 0x02, KEY_ZOOM }, /* Fullscreen */ | ||
31 | { 0x1a, KEY_LANGUAGE }, /* Stereo */ | ||
32 | { 0x1b, KEY_MUTE }, /* Mute */ | ||
33 | { 0x14, KEY_VOLUMEUP }, /* Volume + */ | ||
34 | { 0x17, KEY_VOLUMEDOWN },/* Volume - */ | ||
35 | { 0x12, KEY_CHANNELUP },/* Channel + */ | ||
36 | { 0x13, KEY_CHANNELDOWN },/* Channel - */ | ||
37 | { 0x06, KEY_AGAIN }, /* Recall */ | ||
38 | { 0x10, KEY_ENTER }, /* Enter */ | ||
39 | |||
40 | { 0x19, KEY_BACK }, /* Rewind ( <<< ) */ | ||
41 | { 0x1f, KEY_FORWARD }, /* Forward ( >>> ) */ | ||
42 | { 0x0a, KEY_ANGLE }, /* no label, may be used as the PAUSE button */ | ||
43 | }; | ||
44 | DEFINE_LEGACY_IR_KEYTABLE(flyvideo); | ||
45 | #else | ||
46 | DECLARE_IR_KEYTABLE(flyvideo); | ||
47 | #endif | ||