1 /* empty.h - Keytable for empty 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 /* empty keytable, can be used as placeholder for not-yet created keytables */
17 static struct ir_scancode empty[] = {
21 static struct rc_keymap empty_map = {
24 .size = ARRAY_SIZE(empty),
25 .ir_type = IR_TYPE_UNKNOWN, /* Legacy IR type */
30 static int __init init_rc_map_empty(void)
32 return ir_register_map(&empty_map);
35 static void __exit exit_rc_map_empty(void)
37 ir_unregister_map(&empty_map);
40 module_init(init_rc_map_empty)
41 module_exit(exit_rc_map_empty)
43 MODULE_LICENSE("GPL");
44 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");