1 // SPDX-License-Identifier: GPL-2.0+
2 // terratec-cinergy-xs.h - Keytable for terratec_cinergy_xs Remote Controller
4 // keymap imported from ir-keymaps.c
6 // Copyright (c) 2010 by Mauro Carvalho Chehab
8 #include <media/rc-map.h>
9 #include <linux/module.h>
11 /* Terratec Cinergy Hybrid T USB XS
12 Devin Heitmueller <dheitmueller@linuxtv.org>
15 static struct rc_map_table terratec_cinergy_xs[] = {
22 { 0x43, KEY_SUBTITLE},
45 { 0x4d, KEY_BACKSPACE},
46 { 0x1c, KEY_VOLUMEUP},
48 { 0x1b, KEY_CHANNELUP},
49 { 0x1e, KEY_VOLUMEDOWN},
51 { 0x1f, KEY_CHANNELDOWN},
61 { 0x4f, KEY_FASTFORWARD},
65 static struct rc_map_list terratec_cinergy_xs_map = {
67 .scan = terratec_cinergy_xs,
68 .size = ARRAY_SIZE(terratec_cinergy_xs),
69 .rc_proto = RC_PROTO_UNKNOWN, /* Legacy IR type */
70 .name = RC_MAP_TERRATEC_CINERGY_XS,
74 static int __init init_rc_map_terratec_cinergy_xs(void)
76 return rc_map_register(&terratec_cinergy_xs_map);
79 static void __exit exit_rc_map_terratec_cinergy_xs(void)
81 rc_map_unregister(&terratec_cinergy_xs_map);
84 module_init(init_rc_map_terratec_cinergy_xs)
85 module_exit(exit_rc_map_terratec_cinergy_xs)
87 MODULE_LICENSE("GPL");
88 MODULE_AUTHOR("Mauro Carvalho Chehab");