V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / pinnacle-pctv-hd.h
1 /* pinnacle-pctv-hd.h - Keytable for pinnacle_pctv_hd 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 /* Pinnacle PCTV HD 800i mini remote */
12
13 #ifdef IR_KEYMAPS
14 static struct ir_scancode pinnacle_pctv_hd[] = {
15
16         { 0x0f, KEY_1 },
17         { 0x15, KEY_2 },
18         { 0x10, KEY_3 },
19         { 0x18, KEY_4 },
20         { 0x1b, KEY_5 },
21         { 0x1e, KEY_6 },
22         { 0x11, KEY_7 },
23         { 0x21, KEY_8 },
24         { 0x12, KEY_9 },
25         { 0x27, KEY_0 },
26
27         { 0x24, KEY_ZOOM },
28         { 0x2a, KEY_SUBTITLE },
29
30         { 0x00, KEY_MUTE },
31         { 0x01, KEY_ENTER },    /* Pinnacle Logo */
32         { 0x39, KEY_POWER },
33
34         { 0x03, KEY_VOLUMEUP },
35         { 0x09, KEY_VOLUMEDOWN },
36         { 0x06, KEY_CHANNELUP },
37         { 0x0c, KEY_CHANNELDOWN },
38
39         { 0x2d, KEY_REWIND },
40         { 0x30, KEY_PLAYPAUSE },
41         { 0x33, KEY_FASTFORWARD },
42         { 0x3c, KEY_STOP },
43         { 0x36, KEY_RECORD },
44         { 0x3f, KEY_EPG },      /* Labeled "?" */
45 };
46 DEFINE_LEGACY_IR_KEYTABLE(pinnacle_pctv_hd);
47 #else
48 DECLARE_IR_KEYTABLE(pinnacle_pctv_hd);
49 #endif