V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / genius-tvgo-a11mce.h
1 /* genius-tvgo-a11mce.h - Keytable for genius_tvgo_a11mce 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  * Remote control for the Genius TVGO A11MCE
13  * Adrian Pardini <pardo.bsso@gmail.com>
14  */
15
16 #ifdef IR_KEYMAPS
17 static struct ir_scancode genius_tvgo_a11mce[] = {
18         /* Keys 0 to 9 */
19         { 0x48, KEY_0 },
20         { 0x09, KEY_1 },
21         { 0x1d, KEY_2 },
22         { 0x1f, KEY_3 },
23         { 0x19, KEY_4 },
24         { 0x1b, KEY_5 },
25         { 0x11, KEY_6 },
26         { 0x17, KEY_7 },
27         { 0x12, KEY_8 },
28         { 0x16, KEY_9 },
29
30         { 0x54, KEY_RECORD },           /* recording */
31         { 0x06, KEY_MUTE },             /* mute */
32         { 0x10, KEY_POWER },
33         { 0x40, KEY_LAST },             /* recall */
34         { 0x4c, KEY_CHANNELUP },        /* channel / program + */
35         { 0x00, KEY_CHANNELDOWN },      /* channel / program - */
36         { 0x0d, KEY_VOLUMEUP },
37         { 0x15, KEY_VOLUMEDOWN },
38         { 0x4d, KEY_OK },               /* also labeled as Pause */
39         { 0x1c, KEY_ZOOM },             /* full screen and Stop*/
40         { 0x02, KEY_MODE },             /* AV Source or Rewind*/
41         { 0x04, KEY_LIST },             /* -/-- */
42         /* small arrows above numbers */
43         { 0x1a, KEY_NEXT },             /* also Fast Forward */
44         { 0x0e, KEY_PREVIOUS },         /* also Rewind */
45         /* these are in a rather non standard layout and have
46         an alternate name written */
47         { 0x1e, KEY_UP },               /* Video Setting */
48         { 0x0a, KEY_DOWN },             /* Video Default */
49         { 0x05, KEY_CAMERA },           /* Snapshot */
50         { 0x0c, KEY_RIGHT },            /* Hide Panel */
51         /* Four buttons without label */
52         { 0x49, KEY_RED },
53         { 0x0b, KEY_GREEN },
54         { 0x13, KEY_YELLOW },
55         { 0x50, KEY_BLUE },
56 };
57 DEFINE_LEGACY_IR_KEYTABLE(genius_tvgo_a11mce);
58 #else
59 DECLARE_IR_KEYTABLE(genius_tvgo_a11mce);
60 #endif