rc-dtt200u.c (f26e8817b235d8764363bffcc9cbfc61867371f2) rc-dtt200u.c (6d741bfed5ed06ed42a16d30f1ed7afdcaf7f092)
1/* Keytable for Wideview WT-220U.
2 *
3 * Copyright (c) 2016 Jonathan McDowell <noodles@earth.li>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.

--- 21 unchanged lines hidden (view full) ---

30 { 0x801a, KEY_CHANNELUP },
31 { 0x801b, KEY_8 },
32 { 0x801e, KEY_VOLUMEUP },
33 { 0x801f, KEY_9 },
34};
35
36static struct rc_map_list dtt200u_map = {
37 .map = {
1/* Keytable for Wideview WT-220U.
2 *
3 * Copyright (c) 2016 Jonathan McDowell <noodles@earth.li>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.

--- 21 unchanged lines hidden (view full) ---

30 { 0x801a, KEY_CHANNELUP },
31 { 0x801b, KEY_8 },
32 { 0x801e, KEY_VOLUMEUP },
33 { 0x801f, KEY_9 },
34};
35
36static struct rc_map_list dtt200u_map = {
37 .map = {
38 .scan = dtt200u_table,
39 .size = ARRAY_SIZE(dtt200u_table),
40 .rc_type = RC_TYPE_NEC,
41 .name = RC_MAP_DTT200U,
38 .scan = dtt200u_table,
39 .size = ARRAY_SIZE(dtt200u_table),
40 .rc_proto = RC_PROTO_NEC,
41 .name = RC_MAP_DTT200U,
42 }
43};
44
45static int __init init_rc_map_dtt200u(void)
46{
47 return rc_map_register(&dtt200u_map);
48}
49
50static void __exit exit_rc_map_dtt200u(void)
51{
52 rc_map_unregister(&dtt200u_map);
53}
54
55module_init(init_rc_map_dtt200u)
56module_exit(exit_rc_map_dtt200u)
57
58MODULE_LICENSE("GPL");
59MODULE_AUTHOR("Jonathan McDowell <noodles@earth.li>");
42 }
43};
44
45static int __init init_rc_map_dtt200u(void)
46{
47 return rc_map_register(&dtt200u_map);
48}
49
50static void __exit exit_rc_map_dtt200u(void)
51{
52 rc_map_unregister(&dtt200u_map);
53}
54
55module_init(init_rc_map_dtt200u)
56module_exit(exit_rc_map_dtt200u)
57
58MODULE_LICENSE("GPL");
59MODULE_AUTHOR("Jonathan McDowell <noodles@earth.li>");