rc-reddo.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) rc-reddo.c (6d741bfed5ed06ed42a16d30f1ed7afdcaf7f092)
1/*
2 * MSI DIGIVOX mini III remote controller keytable
3 *
4 * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

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

57 { 0x61d615, KEY_STOP }, /* Stop */
58 { 0x61d616, KEY_PLAY }, /* Play */
59 { 0x61d617, KEY_MUTE }, /* Mute */
60 { 0x61d643, KEY_POWER2 }, /* [red power button] */
61};
62
63static struct rc_map_list reddo_map = {
64 .map = {
1/*
2 * MSI DIGIVOX mini III remote controller keytable
3 *
4 * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

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

57 { 0x61d615, KEY_STOP }, /* Stop */
58 { 0x61d616, KEY_PLAY }, /* Play */
59 { 0x61d617, KEY_MUTE }, /* Mute */
60 { 0x61d643, KEY_POWER2 }, /* [red power button] */
61};
62
63static struct rc_map_list reddo_map = {
64 .map = {
65 .scan = reddo,
66 .size = ARRAY_SIZE(reddo),
67 .rc_type = RC_TYPE_NEC,
68 .name = RC_MAP_REDDO,
65 .scan = reddo,
66 .size = ARRAY_SIZE(reddo),
67 .rc_proto = RC_PROTO_NEC,
68 .name = RC_MAP_REDDO,
69 }
70};
71
72static int __init init_rc_map_reddo(void)
73{
74 return rc_map_register(&reddo_map);
75}
76
77static void __exit exit_rc_map_reddo(void)
78{
79 rc_map_unregister(&reddo_map);
80}
81
82module_init(init_rc_map_reddo)
83module_exit(exit_rc_map_reddo)
84
85MODULE_LICENSE("GPL");
86MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");
69 }
70};
71
72static int __init init_rc_map_reddo(void)
73{
74 return rc_map_register(&reddo_map);
75}
76
77static void __exit exit_rc_map_reddo(void)
78{
79 rc_map_unregister(&reddo_map);
80}
81
82module_init(init_rc_map_reddo)
83module_exit(exit_rc_map_reddo)
84
85MODULE_LICENSE("GPL");
86MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");