Path: blob/master/drivers/media/rc/keymaps/rc-evga-indtube.c
15157 views
/* evga-indtube.h - Keytable for evga_indtube Remote Controller1*2* keymap imported from ir-keymaps.c3*4* Copyright (c) 2010 by Mauro Carvalho Chehab <[email protected]>5*6* This program is free software; you can redistribute it and/or modify7* it under the terms of the GNU General Public License as published by8* the Free Software Foundation; either version 2 of the License, or9* (at your option) any later version.10*/1112#include <media/rc-map.h>1314/* EVGA inDtube15Devin Heitmueller <[email protected]>16*/1718static struct rc_map_table evga_indtube[] = {19{ 0x12, KEY_POWER},20{ 0x02, KEY_MODE}, /* TV */21{ 0x14, KEY_MUTE},22{ 0x1a, KEY_CHANNELUP},23{ 0x16, KEY_TV2}, /* PIP */24{ 0x1d, KEY_VOLUMEUP},25{ 0x05, KEY_CHANNELDOWN},26{ 0x0f, KEY_PLAYPAUSE},27{ 0x19, KEY_VOLUMEDOWN},28{ 0x1c, KEY_REWIND},29{ 0x0d, KEY_RECORD},30{ 0x18, KEY_FORWARD},31{ 0x1e, KEY_PREVIOUS},32{ 0x1b, KEY_STOP},33{ 0x1f, KEY_NEXT},34{ 0x13, KEY_CAMERA},35};3637static struct rc_map_list evga_indtube_map = {38.map = {39.scan = evga_indtube,40.size = ARRAY_SIZE(evga_indtube),41.rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */42.name = RC_MAP_EVGA_INDTUBE,43}44};4546static int __init init_rc_map_evga_indtube(void)47{48return rc_map_register(&evga_indtube_map);49}5051static void __exit exit_rc_map_evga_indtube(void)52{53rc_map_unregister(&evga_indtube_map);54}5556module_init(init_rc_map_evga_indtube)57module_exit(exit_rc_map_evga_indtube)5859MODULE_LICENSE("GPL");60MODULE_AUTHOR("Mauro Carvalho Chehab <[email protected]>");616263