V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / em-terratec.h
1 /* em-terratec.h - Keytable for em_terratec 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 em_terratec[] = {
14         { 0x01, KEY_CHANNEL },
15         { 0x02, KEY_SELECT },
16         { 0x03, KEY_MUTE },
17         { 0x04, KEY_POWER },
18         { 0x05, KEY_1 },
19         { 0x06, KEY_2 },
20         { 0x07, KEY_3 },
21         { 0x08, KEY_CHANNELUP },
22         { 0x09, KEY_4 },
23         { 0x0a, KEY_5 },
24         { 0x0b, KEY_6 },
25         { 0x0c, KEY_CHANNELDOWN },
26         { 0x0d, KEY_7 },
27         { 0x0e, KEY_8 },
28         { 0x0f, KEY_9 },
29         { 0x10, KEY_VOLUMEUP },
30         { 0x11, KEY_0 },
31         { 0x12, KEY_MENU },
32         { 0x13, KEY_PRINT },
33         { 0x14, KEY_VOLUMEDOWN },
34         { 0x16, KEY_PAUSE },
35         { 0x18, KEY_RECORD },
36         { 0x19, KEY_REWIND },
37         { 0x1a, KEY_PLAY },
38         { 0x1b, KEY_FORWARD },
39         { 0x1c, KEY_BACKSPACE },
40         { 0x1e, KEY_STOP },
41         { 0x40, KEY_ZOOM },
42 };
43 DEFINE_LEGACY_IR_KEYTABLE(em_terratec);
44 #else
45 DECLARE_IR_KEYTABLE(em_terratec);
46 #endif