1 /* terratec-cinergy-xs.h - Keytable for terratec_cinergy_xs Remote Controller
3 * keymap imported from ir-keymaps.c
5 * Copyright (c) 2010 by Mauro Carvalho Chehab <mchehab@redhat.com>
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.
13 #include <media/rc-map.h>
15 /* Terratec Cinergy Hybrid T USB XS
16 Devin Heitmueller <dheitmueller@linuxtv.org>
19 static struct rc_map_table terratec_cinergy_xs
[] = {
26 { 0x43, KEY_SUBTITLE
},
49 { 0x4d, KEY_BACKSPACE
},
50 { 0x1c, KEY_VOLUMEUP
},
52 { 0x1b, KEY_CHANNELUP
},
53 { 0x1e, KEY_VOLUMEDOWN
},
55 { 0x1f, KEY_CHANNELDOWN
},
65 { 0x4f, KEY_FASTFORWARD
},
69 static struct rc_map_list terratec_cinergy_xs_map
= {
71 .scan
= terratec_cinergy_xs
,
72 .size
= ARRAY_SIZE(terratec_cinergy_xs
),
73 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
74 .name
= RC_MAP_TERRATEC_CINERGY_XS
,
78 static int __init
init_rc_map_terratec_cinergy_xs(void)
80 return rc_map_register(&terratec_cinergy_xs_map
);
83 static void __exit
exit_rc_map_terratec_cinergy_xs(void)
85 rc_map_unregister(&terratec_cinergy_xs_map
);
88 module_init(init_rc_map_terratec_cinergy_xs
)
89 module_exit(exit_rc_map_terratec_cinergy_xs
)
91 MODULE_LICENSE("GPL");
92 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");