V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / purpletv.h
1 /* purpletv.h - Keytable for purpletv 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 purpletv[] = {
14         { 0x03, KEY_POWER },
15         { 0x6f, KEY_MUTE },
16         { 0x10, KEY_BACKSPACE },        /* Recall */
17
18         { 0x11, KEY_0 },
19         { 0x04, KEY_1 },
20         { 0x05, KEY_2 },
21         { 0x06, KEY_3 },
22         { 0x08, KEY_4 },
23         { 0x09, KEY_5 },
24         { 0x0a, KEY_6 },
25         { 0x0c, KEY_7 },
26         { 0x0d, KEY_8 },
27         { 0x0e, KEY_9 },
28         { 0x12, KEY_DOT },      /* 100+ */
29
30         { 0x07, KEY_VOLUMEUP },
31         { 0x0b, KEY_VOLUMEDOWN },
32         { 0x1a, KEY_KPPLUS },
33         { 0x18, KEY_KPMINUS },
34         { 0x15, KEY_UP },
35         { 0x1d, KEY_DOWN },
36         { 0x0f, KEY_CHANNELUP },
37         { 0x13, KEY_CHANNELDOWN },
38         { 0x48, KEY_ZOOM },
39
40         { 0x1b, KEY_VIDEO },    /* Video source */
41         { 0x1f, KEY_CAMERA },   /* Snapshot */
42         { 0x49, KEY_LANGUAGE }, /* MTS Select */
43         { 0x19, KEY_SEARCH },   /* Auto Scan */
44
45         { 0x4b, KEY_RECORD },
46         { 0x46, KEY_PLAY },
47         { 0x45, KEY_PAUSE },    /* Pause */
48         { 0x44, KEY_STOP },
49         { 0x43, KEY_TIME },     /* Time Shift */
50         { 0x17, KEY_CHANNEL },  /* SURF CH */
51         { 0x40, KEY_FORWARD },  /* Forward ? */
52         { 0x42, KEY_REWIND },   /* Backward ? */
53
54 };
55 DEFINE_LEGACY_IR_KEYTABLE(purpletv);
56 #else
57 DECLARE_IR_KEYTABLE(purpletv);
58 #endif