1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* rc-technisat-ts35.c - Keytable for TechniSat TS35 remote
4 * Copyright (c) 2013 by Jan Klötzke <jan@kloetzke.net>
7 #include <media/rc-map.h>
8 #include <linux/module.h>
10 static struct rc_map_table technisat_ts35
[] = {
16 {0x3e, KEY_NUMERIC_1
},
17 {0x3d, KEY_NUMERIC_2
},
18 {0x3c, KEY_NUMERIC_3
},
19 {0x3b, KEY_NUMERIC_4
},
20 {0x3a, KEY_NUMERIC_5
},
21 {0x39, KEY_NUMERIC_6
},
22 {0x38, KEY_NUMERIC_7
},
23 {0x37, KEY_NUMERIC_8
},
24 {0x36, KEY_NUMERIC_9
},
25 {0x3f, KEY_NUMERIC_0
},
50 static struct rc_map_list technisat_ts35_map
= {
52 .scan
= technisat_ts35
,
53 .size
= ARRAY_SIZE(technisat_ts35
),
54 .rc_proto
= RC_PROTO_UNKNOWN
,
55 .name
= RC_MAP_TECHNISAT_TS35
,
59 static int __init
init_rc_map(void)
61 return rc_map_register(&technisat_ts35_map
);
64 static void __exit
exit_rc_map(void)
66 rc_map_unregister(&technisat_ts35_map
);
69 module_init(init_rc_map
)
70 module_exit(exit_rc_map
)
72 MODULE_LICENSE("GPL");