V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / msi-tvanywhere.h
1 /* msi-tvanywhere.h - Keytable for msi_tvanywhere 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 msi_tvanywhere[] = {
14         /* Keys 0 to 9 */
15         { 0x00, KEY_0 },
16         { 0x01, KEY_1 },
17         { 0x02, KEY_2 },
18         { 0x03, KEY_3 },
19         { 0x04, KEY_4 },
20         { 0x05, KEY_5 },
21         { 0x06, KEY_6 },
22         { 0x07, KEY_7 },
23         { 0x08, KEY_8 },
24         { 0x09, KEY_9 },
25
26         { 0x0c, KEY_MUTE },
27         { 0x0f, KEY_SCREEN },           /* Full Screen */
28         { 0x10, KEY_FN },               /* Funtion */
29         { 0x11, KEY_TIME },             /* Time shift */
30         { 0x12, KEY_POWER },
31         { 0x13, KEY_MEDIA },            /* MTS */
32         { 0x14, KEY_SLOW },
33         { 0x16, KEY_REWIND },           /* backward << */
34         { 0x17, KEY_ENTER },            /* Return */
35         { 0x18, KEY_FASTFORWARD },      /* forward >> */
36         { 0x1a, KEY_CHANNELUP },
37         { 0x1b, KEY_VOLUMEUP },
38         { 0x1e, KEY_CHANNELDOWN },
39         { 0x1f, KEY_VOLUMEDOWN },
40 };
41 DEFINE_LEGACY_IR_KEYTABLE(msi_tvanywhere);
42 #else
43 DECLARE_IR_KEYTABLE(msi_tvanywhere);
44 #endif