V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / pixelview.h
1 /* pixelview.h - Keytable for pixelview 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 pixelview[] = {
14
15         { 0x1e, KEY_POWER },    /* power */
16         { 0x07, KEY_MEDIA },    /* source */
17         { 0x1c, KEY_SEARCH },   /* scan */
18
19
20         { 0x03, KEY_TUNER },            /* TV/FM */
21
22         { 0x00, KEY_RECORD },
23         { 0x08, KEY_STOP },
24         { 0x11, KEY_PLAY },
25
26         { 0x1a, KEY_PLAYPAUSE },        /* freeze */
27         { 0x19, KEY_ZOOM },             /* zoom */
28         { 0x0f, KEY_TEXT },             /* min */
29
30         { 0x01, KEY_1 },
31         { 0x0b, KEY_2 },
32         { 0x1b, KEY_3 },
33         { 0x05, KEY_4 },
34         { 0x09, KEY_5 },
35         { 0x15, KEY_6 },
36         { 0x06, KEY_7 },
37         { 0x0a, KEY_8 },
38         { 0x12, KEY_9 },
39         { 0x02, KEY_0 },
40         { 0x10, KEY_LAST },             /* +100 */
41         { 0x13, KEY_LIST },             /* recall */
42
43         { 0x1f, KEY_CHANNELUP },        /* chn down */
44         { 0x17, KEY_CHANNELDOWN },      /* chn up */
45         { 0x16, KEY_VOLUMEUP },         /* vol down */
46         { 0x14, KEY_VOLUMEDOWN },       /* vol up */
47
48         { 0x04, KEY_KPMINUS },          /* <<< */
49         { 0x0e, KEY_SETUP },            /* function */
50         { 0x0c, KEY_KPPLUS },           /* >>> */
51
52         { 0x0d, KEY_GOTO },             /* mts */
53         { 0x1d, KEY_REFRESH },          /* reset */
54         { 0x18, KEY_MUTE },             /* mute/unmute */
55 };
56 DEFINE_LEGACY_IR_KEYTABLE(pixelview);
57 #else
58 DECLARE_IR_KEYTABLE(pixelview);
59 #endif