[media, edac] Change my email address
[deliverable/linux.git] / drivers / media / rc / keymaps / rc-terratec-cinergy-xs.c
CommitLineData
6686fa69
MCC
1/* terratec-cinergy-xs.h - Keytable for terratec_cinergy_xs Remote Controller
2 *
3 * keymap imported from ir-keymaps.c
4 *
37e59f87 5 * Copyright (c) 2010 by Mauro Carvalho Chehab
6686fa69
MCC
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13#include <media/rc-map.h>
7a707b89 14#include <linux/module.h>
6686fa69
MCC
15
16/* Terratec Cinergy Hybrid T USB XS
17 Devin Heitmueller <dheitmueller@linuxtv.org>
18 */
19
2f4f58d6 20static struct rc_map_table terratec_cinergy_xs[] = {
6686fa69
MCC
21 { 0x41, KEY_HOME},
22 { 0x01, KEY_POWER},
23 { 0x42, KEY_MENU},
24 { 0x02, KEY_1},
25 { 0x03, KEY_2},
26 { 0x04, KEY_3},
27 { 0x43, KEY_SUBTITLE},
28 { 0x05, KEY_4},
29 { 0x06, KEY_5},
30 { 0x07, KEY_6},
31 { 0x44, KEY_TEXT},
32 { 0x08, KEY_7},
33 { 0x09, KEY_8},
34 { 0x0a, KEY_9},
35 { 0x45, KEY_DELETE},
36 { 0x0b, KEY_TUNER},
37 { 0x0c, KEY_0},
38 { 0x0d, KEY_MODE},
39 { 0x46, KEY_TV},
40 { 0x47, KEY_DVD},
41 { 0x49, KEY_VIDEO},
42 { 0x4b, KEY_AUX},
43 { 0x10, KEY_UP},
44 { 0x11, KEY_LEFT},
45 { 0x12, KEY_OK},
46 { 0x13, KEY_RIGHT},
47 { 0x14, KEY_DOWN},
48 { 0x0f, KEY_EPG},
49 { 0x16, KEY_INFO},
50 { 0x4d, KEY_BACKSPACE},
51 { 0x1c, KEY_VOLUMEUP},
52 { 0x4c, KEY_PLAY},
53 { 0x1b, KEY_CHANNELUP},
54 { 0x1e, KEY_VOLUMEDOWN},
55 { 0x1d, KEY_MUTE},
56 { 0x1f, KEY_CHANNELDOWN},
57 { 0x17, KEY_RED},
58 { 0x18, KEY_GREEN},
59 { 0x19, KEY_YELLOW},
60 { 0x1a, KEY_BLUE},
61 { 0x58, KEY_RECORD},
62 { 0x48, KEY_STOP},
63 { 0x40, KEY_PAUSE},
64 { 0x54, KEY_LAST},
65 { 0x4e, KEY_REWIND},
66 { 0x4f, KEY_FASTFORWARD},
67 { 0x5c, KEY_NEXT},
68};
69
d100e659 70static struct rc_map_list terratec_cinergy_xs_map = {
6686fa69
MCC
71 .map = {
72 .scan = terratec_cinergy_xs,
73 .size = ARRAY_SIZE(terratec_cinergy_xs),
52b66144 74 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
6686fa69
MCC
75 .name = RC_MAP_TERRATEC_CINERGY_XS,
76 }
77};
78
79static int __init init_rc_map_terratec_cinergy_xs(void)
80{
d100e659 81 return rc_map_register(&terratec_cinergy_xs_map);
6686fa69
MCC
82}
83
84static void __exit exit_rc_map_terratec_cinergy_xs(void)
85{
d100e659 86 rc_map_unregister(&terratec_cinergy_xs_map);
6686fa69
MCC
87}
88
89module_init(init_rc_map_terratec_cinergy_xs)
90module_exit(exit_rc_map_terratec_cinergy_xs)
91
92MODULE_LICENSE("GPL");
37e59f87 93MODULE_AUTHOR("Mauro Carvalho Chehab");
This page took 0.273849 seconds and 5 git commands to generate.