1 /* dntv-live-dvbt-pro.h - Keytable for dntv_live_dvbt_pro Remote Controller
3 * keymap imported from ir-keymaps.c
5 * Copyright (c) 2010 by Mauro Carvalho Chehab <mchehab@redhat.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
13 #include <media/rc-map.h>
15 /* DigitalNow DNTV Live! DVB-T Pro Remote */
17 static struct rc_map_table dntv_live_dvbt_pro
[] = {
21 { 0x55, KEY_TV
}, /* live tv */
22 { 0x58, KEY_TUNER
}, /* digital Radio */
23 { 0x5a, KEY_RADIO
}, /* FM radio */
24 { 0x59, KEY_DVD
}, /* dvd menu */
44 { 0x1e, KEY_VOLUMEUP
},
45 { 0x0a, KEY_VOLUMEDOWN
},
46 { 0x02, KEY_CHANNELDOWN
},
47 { 0x05, KEY_CHANNELUP
},
53 { 0x12, KEY_FASTFORWARD
},
54 { 0x41, KEY_PREVIOUSSONG
}, /* replay |< */
55 { 0x42, KEY_NEXTSONG
}, /* skip >| */
56 { 0x54, KEY_CAMERA
}, /* capture */
57 { 0x50, KEY_LANGUAGE
}, /* sap */
58 { 0x47, KEY_TV2
}, /* pip */
60 { 0x43, KEY_SUBTITLE
},
62 { 0x49, KEY_AUDIO
}, /* l/r */
64 { 0x08, KEY_VIDEO
}, /* a/v */
65 { 0x0e, KEY_PREVIOUS
}, /* recall */
66 { 0x45, KEY_ZOOM
}, /* zoom + */
67 { 0x46, KEY_ANGLE
}, /* zoom - */
74 static struct rc_map_list dntv_live_dvbt_pro_map
= {
76 .scan
= dntv_live_dvbt_pro
,
77 .size
= ARRAY_SIZE(dntv_live_dvbt_pro
),
78 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
79 .name
= RC_MAP_DNTV_LIVE_DVBT_PRO
,
83 static int __init
init_rc_map_dntv_live_dvbt_pro(void)
85 return rc_map_register(&dntv_live_dvbt_pro_map
);
88 static void __exit
exit_rc_map_dntv_live_dvbt_pro(void)
90 rc_map_unregister(&dntv_live_dvbt_pro_map
);
93 module_init(init_rc_map_dntv_live_dvbt_pro
)
94 module_exit(exit_rc_map_dntv_live_dvbt_pro
)
96 MODULE_LICENSE("GPL");
97 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");