]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/media/keycodes/pinnacle-grey.h
V4L/DVB: ir-core: Make use of the new IR keymap modules
[net-next-2.6.git] / include / media / keycodes / pinnacle-grey.h
CommitLineData
77b7422d
MCC
1/* pinnacle-grey.h - Keytable for pinnacle_grey 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
13static struct ir_scancode pinnacle_grey[] = {
14 { 0x3a, KEY_0 },
15 { 0x31, KEY_1 },
16 { 0x32, KEY_2 },
17 { 0x33, KEY_3 },
18 { 0x34, KEY_4 },
19 { 0x35, KEY_5 },
20 { 0x36, KEY_6 },
21 { 0x37, KEY_7 },
22 { 0x38, KEY_8 },
23 { 0x39, KEY_9 },
24
25 { 0x2f, KEY_POWER },
26
27 { 0x2e, KEY_P },
28 { 0x1f, KEY_L },
29 { 0x2b, KEY_I },
30
31 { 0x2d, KEY_SCREEN },
32 { 0x1e, KEY_ZOOM },
33 { 0x1b, KEY_VOLUMEUP },
34 { 0x0f, KEY_VOLUMEDOWN },
35 { 0x17, KEY_CHANNELUP },
36 { 0x1c, KEY_CHANNELDOWN },
37 { 0x25, KEY_INFO },
38
39 { 0x3c, KEY_MUTE },
40
41 { 0x3d, KEY_LEFT },
42 { 0x3b, KEY_RIGHT },
43
44 { 0x3f, KEY_UP },
45 { 0x3e, KEY_DOWN },
46 { 0x1a, KEY_ENTER },
47
48 { 0x1d, KEY_MENU },
49 { 0x19, KEY_AGAIN },
50 { 0x16, KEY_PREVIOUSSONG },
51 { 0x13, KEY_NEXTSONG },
52 { 0x15, KEY_PAUSE },
53 { 0x0e, KEY_REWIND },
54 { 0x0d, KEY_PLAY },
55 { 0x0b, KEY_STOP },
56 { 0x07, KEY_FORWARD },
57 { 0x27, KEY_RECORD },
58 { 0x26, KEY_TUNER },
59 { 0x29, KEY_TEXT },
60 { 0x2a, KEY_MEDIA },
61 { 0x18, KEY_EPG },
62};
63DEFINE_LEGACY_IR_KEYTABLE(pinnacle_grey);
64#else
65DECLARE_IR_KEYTABLE(pinnacle_grey);
66#endif