1 /* LME2510 remote control
4 * Copyright (C) 2010 Malcolm Priestley (tvboxspy@gmail.com)
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
9 * (at your option) any later version.
12 #include <media/rc-map.h>
15 static struct ir_scancode lme2510_rc
[] = {
26 { 0xbc43, KEY_POWER
},
27 { 0xb946, KEY_SUBTITLE
},
28 { 0xf906, KEY_PAUSE
},
29 { 0xfc03, KEY_MEDIA_REPEAT
},
30 { 0xfd02, KEY_PAUSE
},
31 { 0xa15e, KEY_VOLUMEUP
},
32 { 0xa35c, KEY_VOLUMEDOWN
},
33 { 0xf609, KEY_CHANNELUP
},
34 { 0xe51a, KEY_CHANNELDOWN
},
39 { 0xe718, KEY_RECORD
},
45 static struct rc_keymap lme2510_map
= {
48 .size
= ARRAY_SIZE(lme2510_rc
),
49 .ir_type
= IR_TYPE_UNKNOWN
,
50 .name
= RC_MAP_LME2510
,
54 static int __init
init_rc_lme2510_map(void)
56 return ir_register_map(&lme2510_map
);
59 static void __exit
exit_rc_lme2510_map(void)
61 ir_unregister_map(&lme2510_map
);
64 module_init(init_rc_lme2510_map
)
65 module_exit(exit_rc_lme2510_map
)
67 MODULE_LICENSE("GPL");
68 MODULE_AUTHOR("Malcolm Priestley tvboxspy@gmail.com");
This page took 0.060057 seconds and 5 git commands to generate.