1 // SPDX-License-Identifier: GPL-2.0-only
3 * Keytable for the GeekBox remote controller
8 #include <media/rc-map.h>
9 #include <linux/module.h>
11 static struct rc_map_table geekbox[] = {
16 { 0x0b, KEY_VOLUMEUP },
22 { 0x58, KEY_VOLUMEDOWN },
26 static struct rc_map_list geekbox_map = {
29 .size = ARRAY_SIZE(geekbox),
30 .rc_proto = RC_PROTO_NEC,
31 .name = RC_MAP_GEEKBOX,
35 static int __init init_rc_map_geekbox(void)
37 return rc_map_register(&geekbox_map);
40 static void __exit exit_rc_map_geekbox(void)
42 rc_map_unregister(&geekbox_map);
45 module_init(init_rc_map_geekbox)
46 module_exit(exit_rc_map_geekbox)
48 MODULE_LICENSE("GPL");