1 /* rc-dvbsky.c - Keytable for DVBSky Remote Controllers
3 * keymap imported from ir-keymaps.c
6 * Copyright (c) 2010-2012 by Nibble Max <nibble.max@gmail.com>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
14 #include <media/rc-map.h>
15 #include <linux/module.h>
17 * This table contains the complete RC5 code, instead of just the data part
20 static struct rc_map_table rc5_dvbsky
[] = {
35 { 0x000e, KEY_CAMERA
}, /*Snap shot*/
36 { 0x000f, KEY_SUBTITLE
}, /*PIP*/
37 { 0x0010, KEY_VOLUMEUP
},
38 { 0x0011, KEY_VOLUMEDOWN
},
39 { 0x0012, KEY_FAVORITES
},
40 { 0x0013, KEY_LIST
}, /*Info*/
41 { 0x0016, KEY_PAUSE
},
43 { 0x001f, KEY_RECORD
},
44 { 0x0020, KEY_CHANNELDOWN
},
45 { 0x0021, KEY_CHANNELUP
},
46 { 0x0025, KEY_POWER2
},
47 { 0x0026, KEY_REWIND
},
48 { 0x0027, KEY_FASTFORWARD
},
55 static struct rc_map_list rc5_dvbsky_map
= {
58 .size
= ARRAY_SIZE(rc5_dvbsky
),
59 .rc_proto
= RC_PROTO_RC5
,
60 .name
= RC_MAP_DVBSKY
,
64 static int __init
init_rc_map_rc5_dvbsky(void)
66 return rc_map_register(&rc5_dvbsky_map
);
69 static void __exit
exit_rc_map_rc5_dvbsky(void)
71 rc_map_unregister(&rc5_dvbsky_map
);
74 module_init(init_rc_map_rc5_dvbsky
)
75 module_exit(exit_rc_map_rc5_dvbsky
)
77 MODULE_LICENSE("GPL");
78 MODULE_AUTHOR("Nibble Max <nibble.max@gmail.com>");