| // SPDX-License-Identifier: GPL-2.0+ |
| // em-terratec.h - Keytable for em_terratec Remote Controller |
| // keymap imported from ir-keymaps.c |
| // Copyright (c) 2010 by Mauro Carvalho Chehab |
| #include <media/rc-map.h> |
| #include <linux/module.h> |
| static struct rc_map_table em_terratec[] = { |
| { 0x0c, KEY_CHANNELDOWN }, |
| { 0x14, KEY_VOLUMEDOWN }, |
| static struct rc_map_list em_terratec_map = { |
| .size = ARRAY_SIZE(em_terratec), |
| .rc_proto = RC_PROTO_UNKNOWN, /* Legacy IR type */ |
| .name = RC_MAP_EM_TERRATEC, |
| static int __init init_rc_map_em_terratec(void) |
| return rc_map_register(&em_terratec_map); |
| static void __exit exit_rc_map_em_terratec(void) |
| rc_map_unregister(&em_terratec_map); |
| module_init(init_rc_map_em_terratec) |
| module_exit(exit_rc_map_em_terratec) |
| MODULE_AUTHOR("Mauro Carvalho Chehab"); |