Path: blob/master/drivers/media/rc/keymaps/rc-lirc.c
15112 views
/* rc-lirc.c - Empty dummy keytable, for use when its preferred to pass1* all raw IR data to the lirc userspace decoder.2*3* Copyright (c) 2010 by Jarod Wilson <[email protected]>4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* (at your option) any later version.9*/1011#include <media/rc-core.h>1213static struct rc_map_table lirc[] = {14{ },15};1617static struct rc_map_list lirc_map = {18.map = {19.scan = lirc,20.size = ARRAY_SIZE(lirc),21.rc_type = RC_TYPE_LIRC,22.name = RC_MAP_LIRC,23}24};2526static int __init init_rc_map_lirc(void)27{28return rc_map_register(&lirc_map);29}3031static void __exit exit_rc_map_lirc(void)32{33rc_map_unregister(&lirc_map);34}3536module_init(init_rc_map_lirc)37module_exit(exit_rc_map_lirc)3839MODULE_LICENSE("GPL");40MODULE_AUTHOR("Jarod Wilson <[email protected]>");414243