1 /* cinergy-1400.h - Keytable for cinergy_1400 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 /* Cinergy 1400 DVB-T */
17 static struct ir_scancode cinergy_1400[] = {
31 { 0x0d, KEY_REFRESH },
47 { 0x1b, KEY_CHANNELUP },
48 { 0x1c, KEY_VOLUMEUP },
50 { 0x1e, KEY_VOLUMEDOWN },
51 { 0x1f, KEY_CHANNELDOWN },
56 { 0x54, KEY_PREVIOUS },
61 static struct rc_keymap cinergy_1400_map = {
64 .size = ARRAY_SIZE(cinergy_1400),
65 .ir_type = IR_TYPE_UNKNOWN, /* Legacy IR type */
66 .name = RC_MAP_CINERGY_1400,
70 static int __init init_rc_map_cinergy_1400(void)
72 return ir_register_map(&cinergy_1400_map);
75 static void __exit exit_rc_map_cinergy_1400(void)
77 ir_unregister_map(&cinergy_1400_map);
80 module_init(init_rc_map_cinergy_1400)
81 module_exit(exit_rc_map_cinergy_1400)
83 MODULE_LICENSE("GPL");
84 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");