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
[] = {
15 { 0x02, KEY_NUMERIC_1
},
16 { 0x03, KEY_NUMERIC_2
},
17 { 0x04, KEY_NUMERIC_3
},
18 { 0x05, KEY_NUMERIC_4
},
19 { 0x06, KEY_NUMERIC_5
},
20 { 0x07, KEY_NUMERIC_6
},
21 { 0x08, KEY_NUMERIC_7
},
22 { 0x09, KEY_NUMERIC_8
},
23 { 0x0a, KEY_NUMERIC_9
},
24 { 0x0c, KEY_NUMERIC_0
},
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");