1 // SPDX-License-Identifier: GPL-2.0+
2 // avertv-303.h - Keytable for avertv_303 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 /* AVERTV STUDIO 303 Remote */
13 static struct rc_map_table avertv_303
[] = {
14 { 0x2a, KEY_NUMERIC_1
},
15 { 0x32, KEY_NUMERIC_2
},
16 { 0x3a, KEY_NUMERIC_3
},
17 { 0x4a, KEY_NUMERIC_4
},
18 { 0x52, KEY_NUMERIC_5
},
19 { 0x5a, KEY_NUMERIC_6
},
20 { 0x6a, KEY_NUMERIC_7
},
21 { 0x72, KEY_NUMERIC_8
},
22 { 0x7a, KEY_NUMERIC_9
},
23 { 0x0e, KEY_NUMERIC_0
},
33 { 0x16, KEY_SUBTITLE
},
39 { 0x3e, KEY_SHUFFLE
},
58 static struct rc_map_list avertv_303_map
= {
61 .size
= ARRAY_SIZE(avertv_303
),
62 .rc_proto
= RC_PROTO_UNKNOWN
, /* Legacy IR type */
63 .name
= RC_MAP_AVERTV_303
,
67 static int __init
init_rc_map_avertv_303(void)
69 return rc_map_register(&avertv_303_map
);
72 static void __exit
exit_rc_map_avertv_303(void)
74 rc_map_unregister(&avertv_303_map
);
77 module_init(init_rc_map_avertv_303
)
78 module_exit(exit_rc_map_avertv_303
)
80 MODULE_LICENSE("GPL");
81 MODULE_AUTHOR("Mauro Carvalho Chehab");