V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / dntv-live-dvb-t.h
1 /* dntv-live-dvb-t.h - Keytable for dntv_live_dvb_t 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 Remote */
12
13 #ifdef IR_KEYMAPS
14 static struct ir_scancode dntv_live_dvb_t[] = {
15         { 0x00, KEY_ESC },              /* 'go up a level?' */
16         /* Keys 0 to 9 */
17         { 0x0a, KEY_0 },
18         { 0x01, KEY_1 },
19         { 0x02, KEY_2 },
20         { 0x03, KEY_3 },
21         { 0x04, KEY_4 },
22         { 0x05, KEY_5 },
23         { 0x06, KEY_6 },
24         { 0x07, KEY_7 },
25         { 0x08, KEY_8 },
26         { 0x09, KEY_9 },
27
28         { 0x0b, KEY_TUNER },            /* tv/fm */
29         { 0x0c, KEY_SEARCH },           /* scan */
30         { 0x0d, KEY_STOP },
31         { 0x0e, KEY_PAUSE },
32         { 0x0f, KEY_LIST },             /* source */
33
34         { 0x10, KEY_MUTE },
35         { 0x11, KEY_REWIND },           /* backward << */
36         { 0x12, KEY_POWER },
37         { 0x13, KEY_CAMERA },           /* snap */
38         { 0x14, KEY_AUDIO },            /* stereo */
39         { 0x15, KEY_CLEAR },            /* reset */
40         { 0x16, KEY_PLAY },
41         { 0x17, KEY_ENTER },
42         { 0x18, KEY_ZOOM },             /* full screen */
43         { 0x19, KEY_FASTFORWARD },      /* forward >> */
44         { 0x1a, KEY_CHANNELUP },
45         { 0x1b, KEY_VOLUMEUP },
46         { 0x1c, KEY_INFO },             /* preview */
47         { 0x1d, KEY_RECORD },           /* record */
48         { 0x1e, KEY_CHANNELDOWN },
49         { 0x1f, KEY_VOLUMEDOWN },
50 };
51 DEFINE_LEGACY_IR_KEYTABLE(dntv_live_dvb_t);
52 #else
53 DECLARE_IR_KEYTABLE(dntv_live_dvb_t);
54 #endif