V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / nebula.h
1 /* nebula.h - Keytable for nebula 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 nebula[] = {
14         { 0x00, KEY_0 },
15         { 0x01, KEY_1 },
16         { 0x02, KEY_2 },
17         { 0x03, KEY_3 },
18         { 0x04, KEY_4 },
19         { 0x05, KEY_5 },
20         { 0x06, KEY_6 },
21         { 0x07, KEY_7 },
22         { 0x08, KEY_8 },
23         { 0x09, KEY_9 },
24         { 0x0a, KEY_TV },
25         { 0x0b, KEY_AUX },
26         { 0x0c, KEY_DVD },
27         { 0x0d, KEY_POWER },
28         { 0x0e, KEY_MHP },      /* labelled 'Picture' */
29         { 0x0f, KEY_AUDIO },
30         { 0x10, KEY_INFO },
31         { 0x11, KEY_F13 },      /* 16:9 */
32         { 0x12, KEY_F14 },      /* 14:9 */
33         { 0x13, KEY_EPG },
34         { 0x14, KEY_EXIT },
35         { 0x15, KEY_MENU },
36         { 0x16, KEY_UP },
37         { 0x17, KEY_DOWN },
38         { 0x18, KEY_LEFT },
39         { 0x19, KEY_RIGHT },
40         { 0x1a, KEY_ENTER },
41         { 0x1b, KEY_CHANNELUP },
42         { 0x1c, KEY_CHANNELDOWN },
43         { 0x1d, KEY_VOLUMEUP },
44         { 0x1e, KEY_VOLUMEDOWN },
45         { 0x1f, KEY_RED },
46         { 0x20, KEY_GREEN },
47         { 0x21, KEY_YELLOW },
48         { 0x22, KEY_BLUE },
49         { 0x23, KEY_SUBTITLE },
50         { 0x24, KEY_F15 },      /* AD */
51         { 0x25, KEY_TEXT },
52         { 0x26, KEY_MUTE },
53         { 0x27, KEY_REWIND },
54         { 0x28, KEY_STOP },
55         { 0x29, KEY_PLAY },
56         { 0x2a, KEY_FASTFORWARD },
57         { 0x2b, KEY_F16 },      /* chapter */
58         { 0x2c, KEY_PAUSE },
59         { 0x2d, KEY_PLAY },
60         { 0x2e, KEY_RECORD },
61         { 0x2f, KEY_F17 },      /* picture in picture */
62         { 0x30, KEY_KPPLUS },   /* zoom in */
63         { 0x31, KEY_KPMINUS },  /* zoom out */
64         { 0x32, KEY_F18 },      /* capture */
65         { 0x33, KEY_F19 },      /* web */
66         { 0x34, KEY_EMAIL },
67         { 0x35, KEY_PHONE },
68         { 0x36, KEY_PC },
69 };
70 DEFINE_LEGACY_IR_KEYTABLE(nebula);
71 #else
72 DECLARE_IR_KEYTABLE(nebula);
73 #endif