V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / flydvb.h
1 /* flydvb.h - Keytable for flydvb 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 flydvb[] = {
14         { 0x01, KEY_ZOOM },             /* Full Screen */
15         { 0x00, KEY_POWER },            /* Power */
16
17         { 0x03, KEY_1 },
18         { 0x04, KEY_2 },
19         { 0x05, KEY_3 },
20         { 0x07, KEY_4 },
21         { 0x08, KEY_5 },
22         { 0x09, KEY_6 },
23         { 0x0b, KEY_7 },
24         { 0x0c, KEY_8 },
25         { 0x0d, KEY_9 },
26         { 0x06, KEY_AGAIN },            /* Recall */
27         { 0x0f, KEY_0 },
28         { 0x10, KEY_MUTE },             /* Mute */
29         { 0x02, KEY_RADIO },            /* TV/Radio */
30         { 0x1b, KEY_LANGUAGE },         /* SAP (Second Audio Program) */
31
32         { 0x14, KEY_VOLUMEUP },         /* VOL+ */
33         { 0x17, KEY_VOLUMEDOWN },       /* VOL- */
34         { 0x12, KEY_CHANNELUP },        /* CH+ */
35         { 0x13, KEY_CHANNELDOWN },      /* CH- */
36         { 0x1d, KEY_ENTER },            /* Enter */
37
38         { 0x1a, KEY_MODE },             /* PIP */
39         { 0x18, KEY_TUNER },            /* Source */
40
41         { 0x1e, KEY_RECORD },           /* Record/Pause */
42         { 0x15, KEY_ANGLE },            /* Swap (no label on key) */
43         { 0x1c, KEY_PAUSE },            /* Timeshift/Pause */
44         { 0x19, KEY_BACK },             /* Rewind << */
45         { 0x0a, KEY_PLAYPAUSE },        /* Play/Pause */
46         { 0x1f, KEY_FORWARD },          /* Forward >> */
47         { 0x16, KEY_PREVIOUS },         /* Back |<< */
48         { 0x11, KEY_STOP },             /* Stop */
49         { 0x0e, KEY_NEXT },             /* End >>| */
50 };
51 DEFINE_LEGACY_IR_KEYTABLE(flydvb);
52 #else
53 DECLARE_IR_KEYTABLE(flydvb);
54 #endif