1 // SPDX-License-Identifier: GPL-2.0+
2 // dntv-live-dvbt-pro.h - Keytable for dntv_live_dvbt_pro Remote Controller
4 // keymap imported from ir-keymaps.c
6 // Copyright (c) 2010 by Mauro Carvalho Chehab
8 #include <media/rc-map.h>
9 #include <linux/module.h>
11 /* DigitalNow DNTV Live! DVB-T Pro Remote */
13 static struct rc_map_table dntv_live_dvbt_pro
[] = {
17 { 0x55, KEY_TV
}, /* live tv */
18 { 0x58, KEY_TUNER
}, /* digital Radio */
19 { 0x5a, KEY_RADIO
}, /* FM radio */
20 { 0x59, KEY_DVD
}, /* dvd menu */
40 { 0x1e, KEY_VOLUMEUP
},
41 { 0x0a, KEY_VOLUMEDOWN
},
42 { 0x02, KEY_CHANNELDOWN
},
43 { 0x05, KEY_CHANNELUP
},
49 { 0x12, KEY_FASTFORWARD
},
50 { 0x41, KEY_PREVIOUSSONG
}, /* replay |< */
51 { 0x42, KEY_NEXTSONG
}, /* skip >| */
52 { 0x54, KEY_CAMERA
}, /* capture */
53 { 0x50, KEY_LANGUAGE
}, /* sap */
54 { 0x47, KEY_TV2
}, /* pip */
56 { 0x43, KEY_SUBTITLE
},
58 { 0x49, KEY_AUDIO
}, /* l/r */
60 { 0x08, KEY_VIDEO
}, /* a/v */
61 { 0x0e, KEY_PREVIOUS
}, /* recall */
62 { 0x45, KEY_ZOOM
}, /* zoom + */
63 { 0x46, KEY_ANGLE
}, /* zoom - */
70 static struct rc_map_list dntv_live_dvbt_pro_map
= {
72 .scan
= dntv_live_dvbt_pro
,
73 .size
= ARRAY_SIZE(dntv_live_dvbt_pro
),
74 .rc_proto
= RC_PROTO_UNKNOWN
, /* Legacy IR type */
75 .name
= RC_MAP_DNTV_LIVE_DVBT_PRO
,
79 static int __init
init_rc_map_dntv_live_dvbt_pro(void)
81 return rc_map_register(&dntv_live_dvbt_pro_map
);
84 static void __exit
exit_rc_map_dntv_live_dvbt_pro(void)
86 rc_map_unregister(&dntv_live_dvbt_pro_map
);
89 module_init(init_rc_map_dntv_live_dvbt_pro
)
90 module_exit(exit_rc_map_dntv_live_dvbt_pro
)
92 MODULE_LICENSE("GPL");
93 MODULE_AUTHOR("Mauro Carvalho Chehab");