V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / kworld-315u.h
1 /* kworld-315u.h - Keytable for kworld_315u 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 /* Kworld 315U
12  */
13
14 #ifdef IR_KEYMAPS
15 static struct ir_scancode kworld_315u[] = {
16         { 0x6143, KEY_POWER },
17         { 0x6101, KEY_TUNER },          /* source */
18         { 0x610b, KEY_ZOOM },
19         { 0x6103, KEY_POWER2 },         /* shutdown */
20
21         { 0x6104, KEY_1 },
22         { 0x6108, KEY_2 },
23         { 0x6102, KEY_3 },
24         { 0x6109, KEY_CHANNELUP },
25
26         { 0x610f, KEY_4 },
27         { 0x6105, KEY_5 },
28         { 0x6106, KEY_6 },
29         { 0x6107, KEY_CHANNELDOWN },
30
31         { 0x610c, KEY_7 },
32         { 0x610d, KEY_8 },
33         { 0x610a, KEY_9 },
34         { 0x610e, KEY_VOLUMEUP },
35
36         { 0x6110, KEY_LAST },
37         { 0x6111, KEY_0 },
38         { 0x6112, KEY_ENTER },
39         { 0x6113, KEY_VOLUMEDOWN },
40
41         { 0x6114, KEY_RECORD },
42         { 0x6115, KEY_STOP },
43         { 0x6116, KEY_PLAY },
44         { 0x6117, KEY_MUTE },
45
46         { 0x6118, KEY_UP },
47         { 0x6119, KEY_DOWN },
48         { 0x611a, KEY_LEFT },
49         { 0x611b, KEY_RIGHT },
50
51         { 0x611c, KEY_RED },
52         { 0x611d, KEY_GREEN },
53         { 0x611e, KEY_YELLOW },
54         { 0x611f, KEY_BLUE },
55 };
56 DEFINE_IR_KEYTABLE(kworld_315u, IR_TYPE_NEC);
57 #else
58 DECLARE_IR_KEYTABLE(kworld_315u);
59 #endif