V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / npgtech.h
1 /* npgtech.h - Keytable for npgtech 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 npgtech[] = {
14         { 0x1d, KEY_SWITCHVIDEOMODE },  /* switch inputs */
15         { 0x2a, KEY_FRONT },
16
17         { 0x3e, KEY_1 },
18         { 0x02, KEY_2 },
19         { 0x06, KEY_3 },
20         { 0x0a, KEY_4 },
21         { 0x0e, KEY_5 },
22         { 0x12, KEY_6 },
23         { 0x16, KEY_7 },
24         { 0x1a, KEY_8 },
25         { 0x1e, KEY_9 },
26         { 0x3a, KEY_0 },
27         { 0x22, KEY_NUMLOCK },          /* -/-- */
28         { 0x20, KEY_REFRESH },
29
30         { 0x03, KEY_BRIGHTNESSDOWN },
31         { 0x28, KEY_AUDIO },
32         { 0x3c, KEY_CHANNELUP },
33         { 0x3f, KEY_VOLUMEDOWN },
34         { 0x2e, KEY_MUTE },
35         { 0x3b, KEY_VOLUMEUP },
36         { 0x00, KEY_CHANNELDOWN },
37         { 0x07, KEY_BRIGHTNESSUP },
38         { 0x2c, KEY_TEXT },
39
40         { 0x37, KEY_RECORD },
41         { 0x17, KEY_PLAY },
42         { 0x13, KEY_PAUSE },
43         { 0x26, KEY_STOP },
44         { 0x18, KEY_FASTFORWARD },
45         { 0x14, KEY_REWIND },
46         { 0x33, KEY_ZOOM },
47         { 0x32, KEY_KEYBOARD },
48         { 0x30, KEY_GOTO },             /* Pointing arrow */
49         { 0x36, KEY_MACRO },            /* Maximize/Minimize (yellow) */
50         { 0x0b, KEY_RADIO },
51         { 0x10, KEY_POWER },
52
53 };
54 DEFINE_LEGACY_IR_KEYTABLE(npgtech);
55 #else
56 DECLARE_IR_KEYTABLE(npgtech);
57 #endif