1 // SPDX-License-Identifier: GPL-2.0+
2 // cinergy-1400.h - Keytable for cinergy_1400 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 /* Cinergy 1400 DVB-T */
13 static struct rc_map_table cinergy_1400[] = {
27 { 0x0d, KEY_REFRESH },
43 { 0x1b, KEY_CHANNELUP },
44 { 0x1c, KEY_VOLUMEUP },
46 { 0x1e, KEY_VOLUMEDOWN },
47 { 0x1f, KEY_CHANNELDOWN },
52 { 0x54, KEY_PREVIOUS },
57 static struct rc_map_list cinergy_1400_map = {
60 .size = ARRAY_SIZE(cinergy_1400),
61 .rc_proto = RC_PROTO_UNKNOWN, /* Legacy IR type */
62 .name = RC_MAP_CINERGY_1400,
66 static int __init init_rc_map_cinergy_1400(void)
68 return rc_map_register(&cinergy_1400_map);
71 static void __exit exit_rc_map_cinergy_1400(void)
73 rc_map_unregister(&cinergy_1400_map);
76 module_init(init_rc_map_cinergy_1400)
77 module_exit(exit_rc_map_cinergy_1400)
79 MODULE_LICENSE("GPL");
80 MODULE_AUTHOR("Mauro Carvalho Chehab");