V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / fusionhdtv-mce.h
1 /* fusionhdtv-mce.h - Keytable for fusionhdtv_mce 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 /* DViCO FUSION HDTV MCE remote */
12
13 #ifdef IR_KEYMAPS
14 static struct ir_scancode fusionhdtv_mce[] = {
15
16         { 0x0b, KEY_1 },
17         { 0x17, KEY_2 },
18         { 0x1b, KEY_3 },
19         { 0x07, KEY_4 },
20         { 0x50, KEY_5 },
21         { 0x54, KEY_6 },
22         { 0x48, KEY_7 },
23         { 0x4c, KEY_8 },
24         { 0x58, KEY_9 },
25         { 0x03, KEY_0 },
26
27         { 0x5e, KEY_OK },
28         { 0x51, KEY_UP },
29         { 0x53, KEY_DOWN },
30         { 0x5b, KEY_LEFT },
31         { 0x5f, KEY_RIGHT },
32
33         { 0x02, KEY_TV },               /* Labeled DTV on remote */
34         { 0x0e, KEY_MP3 },
35         { 0x1a, KEY_DVD },
36         { 0x1e, KEY_FAVORITES },        /* Labeled CPF on remote */
37         { 0x16, KEY_SETUP },
38         { 0x46, KEY_POWER2 },           /* TV On/Off button on remote */
39         { 0x0a, KEY_EPG },              /* Labeled Guide on remote */
40
41         { 0x49, KEY_BACK },
42         { 0x59, KEY_INFO },             /* Labeled MORE on remote */
43         { 0x4d, KEY_MENU },             /* Labeled DVDMENU on remote */
44         { 0x55, KEY_CYCLEWINDOWS },     /* Labeled ALT-TAB on remote */
45
46         { 0x0f, KEY_PREVIOUSSONG },     /* Labeled |<< REPLAY on remote */
47         { 0x12, KEY_NEXTSONG },         /* Labeled >>| SKIP on remote */
48         { 0x42, KEY_ENTER },            /* Labeled START with a green
49                                            MS windows logo on remote */
50
51         { 0x15, KEY_VOLUMEUP },
52         { 0x05, KEY_VOLUMEDOWN },
53         { 0x11, KEY_CHANNELUP },
54         { 0x09, KEY_CHANNELDOWN },
55
56         { 0x52, KEY_CAMERA },
57         { 0x5a, KEY_TUNER },
58         { 0x19, KEY_OPEN },
59
60         { 0x13, KEY_MODE },             /* 4:3 16:9 select */
61         { 0x1f, KEY_ZOOM },
62
63         { 0x43, KEY_REWIND },
64         { 0x47, KEY_PLAYPAUSE },
65         { 0x4f, KEY_FASTFORWARD },
66         { 0x57, KEY_MUTE },
67         { 0x0d, KEY_STOP },
68         { 0x01, KEY_RECORD },
69         { 0x4e, KEY_POWER },
70 };
71 DEFINE_LEGACY_IR_KEYTABLE(fusionhdtv_mce);
72 #else
73 DECLARE_IR_KEYTABLE(fusionhdtv_mce);
74 #endif