V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / dntv-live-dvbt-pro.h
1 /* dntv-live-dvbt-pro.h - Keytable for dntv_live_dvbt_pro 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 /* DigitalNow DNTV Live! DVB-T Pro Remote */
12
13 #ifdef IR_KEYMAPS
14 static struct ir_scancode dntv_live_dvbt_pro[] = {
15         { 0x16, KEY_POWER },
16         { 0x5b, KEY_HOME },
17
18         { 0x55, KEY_TV },               /* live tv */
19         { 0x58, KEY_TUNER },            /* digital Radio */
20         { 0x5a, KEY_RADIO },            /* FM radio */
21         { 0x59, KEY_DVD },              /* dvd menu */
22         { 0x03, KEY_1 },
23         { 0x01, KEY_2 },
24         { 0x06, KEY_3 },
25         { 0x09, KEY_4 },
26         { 0x1d, KEY_5 },
27         { 0x1f, KEY_6 },
28         { 0x0d, KEY_7 },
29         { 0x19, KEY_8 },
30         { 0x1b, KEY_9 },
31         { 0x0c, KEY_CANCEL },
32         { 0x15, KEY_0 },
33         { 0x4a, KEY_CLEAR },
34         { 0x13, KEY_BACK },
35         { 0x00, KEY_TAB },
36         { 0x4b, KEY_UP },
37         { 0x4e, KEY_LEFT },
38         { 0x4f, KEY_OK },
39         { 0x52, KEY_RIGHT },
40         { 0x51, KEY_DOWN },
41         { 0x1e, KEY_VOLUMEUP },
42         { 0x0a, KEY_VOLUMEDOWN },
43         { 0x02, KEY_CHANNELDOWN },
44         { 0x05, KEY_CHANNELUP },
45         { 0x11, KEY_RECORD },
46         { 0x14, KEY_PLAY },
47         { 0x4c, KEY_PAUSE },
48         { 0x1a, KEY_STOP },
49         { 0x40, KEY_REWIND },
50         { 0x12, KEY_FASTFORWARD },
51         { 0x41, KEY_PREVIOUSSONG },     /* replay |< */
52         { 0x42, KEY_NEXTSONG },         /* skip >| */
53         { 0x54, KEY_CAMERA },           /* capture */
54         { 0x50, KEY_LANGUAGE },         /* sap */
55         { 0x47, KEY_TV2 },              /* pip */
56         { 0x4d, KEY_SCREEN },
57         { 0x43, KEY_SUBTITLE },
58         { 0x10, KEY_MUTE },
59         { 0x49, KEY_AUDIO },            /* l/r */
60         { 0x07, KEY_SLEEP },
61         { 0x08, KEY_VIDEO },            /* a/v */
62         { 0x0e, KEY_PREVIOUS },         /* recall */
63         { 0x45, KEY_ZOOM },             /* zoom + */
64         { 0x46, KEY_ANGLE },            /* zoom - */
65         { 0x56, KEY_RED },
66         { 0x57, KEY_GREEN },
67         { 0x5c, KEY_YELLOW },
68         { 0x5d, KEY_BLUE },
69 };
70 DEFINE_LEGACY_IR_KEYTABLE(dntv_live_dvbt_pro);
71 #else
72 DECLARE_IR_KEYTABLE(dntv_live_dvbt_pro);
73 #endif