V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / terratec-cinergy-xs.h
1 /* terratec-cinergy-xs.h - Keytable for terratec_cinergy_xs 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 /* Terratec Cinergy Hybrid T USB XS
12    Devin Heitmueller <dheitmueller@linuxtv.org>
13  */
14
15 #ifdef IR_KEYMAPS
16 static struct ir_scancode terratec_cinergy_xs[] = {
17         { 0x41, KEY_HOME},
18         { 0x01, KEY_POWER},
19         { 0x42, KEY_MENU},
20         { 0x02, KEY_1},
21         { 0x03, KEY_2},
22         { 0x04, KEY_3},
23         { 0x43, KEY_SUBTITLE},
24         { 0x05, KEY_4},
25         { 0x06, KEY_5},
26         { 0x07, KEY_6},
27         { 0x44, KEY_TEXT},
28         { 0x08, KEY_7},
29         { 0x09, KEY_8},
30         { 0x0a, KEY_9},
31         { 0x45, KEY_DELETE},
32         { 0x0b, KEY_TUNER},
33         { 0x0c, KEY_0},
34         { 0x0d, KEY_MODE},
35         { 0x46, KEY_TV},
36         { 0x47, KEY_DVD},
37         { 0x49, KEY_VIDEO},
38         { 0x4b, KEY_AUX},
39         { 0x10, KEY_UP},
40         { 0x11, KEY_LEFT},
41         { 0x12, KEY_OK},
42         { 0x13, KEY_RIGHT},
43         { 0x14, KEY_DOWN},
44         { 0x0f, KEY_EPG},
45         { 0x16, KEY_INFO},
46         { 0x4d, KEY_BACKSPACE},
47         { 0x1c, KEY_VOLUMEUP},
48         { 0x4c, KEY_PLAY},
49         { 0x1b, KEY_CHANNELUP},
50         { 0x1e, KEY_VOLUMEDOWN},
51         { 0x1d, KEY_MUTE},
52         { 0x1f, KEY_CHANNELDOWN},
53         { 0x17, KEY_RED},
54         { 0x18, KEY_GREEN},
55         { 0x19, KEY_YELLOW},
56         { 0x1a, KEY_BLUE},
57         { 0x58, KEY_RECORD},
58         { 0x48, KEY_STOP},
59         { 0x40, KEY_PAUSE},
60         { 0x54, KEY_LAST},
61         { 0x4e, KEY_REWIND},
62         { 0x4f, KEY_FASTFORWARD},
63         { 0x5c, KEY_NEXT},
64 };
65 DEFINE_LEGACY_IR_KEYTABLE(terratec_cinergy_xs);
66 #else
67 DECLARE_IR_KEYTABLE(terratec_cinergy_xs);
68 #endif