1 // SPDX-License-Identifier: GPL-2.0+
5 #include <media/rc-map.h>
6 #include <linux/module.h>
9 // Keytable for the Tronsmart Vega S9x remote control
12 static struct rc_map_table vega_s9x[] = {
14 { 0x17, KEY_MUTE }, // mouse
23 { 0x42, KEY_PLAYPAUSE},
26 { 0x14, KEY_VOLUMEDOWN },
28 { 0x10, KEY_VOLUMEUP },
31 static struct rc_map_list vega_s9x_map = {
34 .size = ARRAY_SIZE(vega_s9x),
35 .rc_proto = RC_PROTO_NEC,
36 .name = RC_MAP_VEGA_S9X,
40 static int __init init_rc_map_vega_s9x(void)
42 return rc_map_register(&vega_s9x_map);
45 static void __exit exit_rc_map_vega_s9x(void)
47 rc_map_unregister(&vega_s9x_map);
50 module_init(init_rc_map_vega_s9x)
51 module_exit(exit_rc_map_vega_s9x)
53 MODULE_LICENSE("GPL");