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>
14 #include <linux/module.h>
16 /* Terratec Cinergy Hybrid T USB XS
17 Devin Heitmueller <dheitmueller@linuxtv.org>
20 static struct rc_map_table terratec_cinergy_xs
[] = {
27 { 0x43, KEY_SUBTITLE
},
50 { 0x4d, KEY_BACKSPACE
},
51 { 0x1c, KEY_VOLUMEUP
},
53 { 0x1b, KEY_CHANNELUP
},
54 { 0x1e, KEY_VOLUMEDOWN
},
56 { 0x1f, KEY_CHANNELDOWN
},
66 { 0x4f, KEY_FASTFORWARD
},
70 static struct rc_map_list terratec_cinergy_xs_map
= {
72 .scan
= terratec_cinergy_xs
,
73 .size
= ARRAY_SIZE(terratec_cinergy_xs
),
74 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
75 .name
= RC_MAP_TERRATEC_CINERGY_XS
,
79 static int __init
init_rc_map_terratec_cinergy_xs(void)
81 return rc_map_register(&terratec_cinergy_xs_map
);
84 static void __exit
exit_rc_map_terratec_cinergy_xs(void)
86 rc_map_unregister(&terratec_cinergy_xs_map
);
89 module_init(init_rc_map_terratec_cinergy_xs
)
90 module_exit(exit_rc_map_terratec_cinergy_xs
)
92 MODULE_LICENSE("GPL");
93 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");