Path: blob/master/drivers/media/rc/keymaps/rc-encore-enltv-fm53.c
15112 views
/* encore-enltv-fm53.h - Keytable for encore_enltv_fm53 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/* Encore ENLTV-FM v5.315Mauro Carvalho Chehab <[email protected]>16*/1718static struct rc_map_table encore_enltv_fm53[] = {19{ 0x10, KEY_POWER2},20{ 0x06, KEY_MUTE},2122{ 0x09, KEY_1},23{ 0x1d, KEY_2},24{ 0x1f, KEY_3},25{ 0x19, KEY_4},26{ 0x1b, KEY_5},27{ 0x11, KEY_6},28{ 0x17, KEY_7},29{ 0x12, KEY_8},30{ 0x16, KEY_9},31{ 0x48, KEY_0},3233{ 0x04, KEY_LIST}, /* -/-- */34{ 0x40, KEY_LAST}, /* recall */3536{ 0x02, KEY_MODE}, /* TV/AV */37{ 0x05, KEY_CAMERA}, /* SNAPSHOT */3839{ 0x4c, KEY_CHANNELUP}, /* UP */40{ 0x00, KEY_CHANNELDOWN}, /* DOWN */41{ 0x0d, KEY_VOLUMEUP}, /* RIGHT */42{ 0x15, KEY_VOLUMEDOWN}, /* LEFT */43{ 0x49, KEY_ENTER}, /* OK */4445{ 0x54, KEY_RECORD},46{ 0x4d, KEY_PLAY}, /* pause */4748{ 0x1e, KEY_MENU}, /* video setting */49{ 0x0e, KEY_RIGHT}, /* <- */50{ 0x1a, KEY_LEFT}, /* -> */5152{ 0x0a, KEY_CLEAR}, /* video default */53{ 0x0c, KEY_ZOOM}, /* hide pannel */54{ 0x47, KEY_SLEEP}, /* shutdown */55};5657static struct rc_map_list encore_enltv_fm53_map = {58.map = {59.scan = encore_enltv_fm53,60.size = ARRAY_SIZE(encore_enltv_fm53),61.rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */62.name = RC_MAP_ENCORE_ENLTV_FM53,63}64};6566static int __init init_rc_map_encore_enltv_fm53(void)67{68return rc_map_register(&encore_enltv_fm53_map);69}7071static void __exit exit_rc_map_encore_enltv_fm53(void)72{73rc_map_unregister(&encore_enltv_fm53_map);74}7576module_init(init_rc_map_encore_enltv_fm53)77module_exit(exit_rc_map_encore_enltv_fm53)7879MODULE_LICENSE("GPL");80MODULE_AUTHOR("Mauro Carvalho Chehab <[email protected]>");818283