rc-su3000.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) rc-su3000.c (6d741bfed5ed06ed42a16d30f1ed7afdcaf7f092)
1/* rc-su3000.h - Keytable for Geniatech HDStar Remote Controller
2 *
3 * Copyright (c) 2013 by Evgeny Plehov <Evgeny Plehov@ukr.net>
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.

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

46 { 0x0f, KEY_BLUE }, /* bottom yellow button */
47 { 0x14, KEY_AUDIO }, /* Snapshot */
48 { 0x38, KEY_TV }, /* TV/Radio */
49 { 0x0c, KEY_ESC } /* upper Red button */
50};
51
52static struct rc_map_list su3000_map = {
53 .map = {
1/* rc-su3000.h - Keytable for Geniatech HDStar Remote Controller
2 *
3 * Copyright (c) 2013 by Evgeny Plehov <Evgeny Plehov@ukr.net>
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.

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

46 { 0x0f, KEY_BLUE }, /* bottom yellow button */
47 { 0x14, KEY_AUDIO }, /* Snapshot */
48 { 0x38, KEY_TV }, /* TV/Radio */
49 { 0x0c, KEY_ESC } /* upper Red button */
50};
51
52static struct rc_map_list su3000_map = {
53 .map = {
54 .scan = su3000,
55 .size = ARRAY_SIZE(su3000),
56 .rc_type = RC_TYPE_RC5,
57 .name = RC_MAP_SU3000,
54 .scan = su3000,
55 .size = ARRAY_SIZE(su3000),
56 .rc_proto = RC_PROTO_RC5,
57 .name = RC_MAP_SU3000,
58 }
59};
60
61static int __init init_rc_map_su3000(void)
62{
63 return rc_map_register(&su3000_map);
64}
65
66static void __exit exit_rc_map_su3000(void)
67{
68 rc_map_unregister(&su3000_map);
69}
70
71module_init(init_rc_map_su3000)
72module_exit(exit_rc_map_su3000)
73
74MODULE_LICENSE("GPL");
75MODULE_AUTHOR("Evgeny Plehov <Evgeny Plehov@ukr.net>");
58 }
59};
60
61static int __init init_rc_map_su3000(void)
62{
63 return rc_map_register(&su3000_map);
64}
65
66static void __exit exit_rc_map_su3000(void)
67{
68 rc_map_unregister(&su3000_map);
69}
70
71module_init(init_rc_map_su3000)
72module_exit(exit_rc_map_su3000)
73
74MODULE_LICENSE("GPL");
75MODULE_AUTHOR("Evgeny Plehov <Evgeny Plehov@ukr.net>");