summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/drivers
diff options
context:
space:
mode:
authorKevin2014-12-07 10:39:08 +0800
committerKevin2014-12-07 10:39:08 +0800
commitc6c9e786ed378041d910c537608ddf7988aade25 (patch)
tree07541417ed48a15181ff9ae2e961ef09292b5060 /ANDROID_3.4.5/drivers
parent3f6ebab430dac712fd2eea7b33594439967ec5db (diff)
downloadFOSSEE-netbook-kernel-source-c6c9e786ed378041d910c537608ddf7988aade25.tar.gz
FOSSEE-netbook-kernel-source-c6c9e786ed378041d910c537608ddf7988aade25.tar.bz2
FOSSEE-netbook-kernel-source-c6c9e786ed378041d910c537608ddf7988aade25.zip
V0.1 增加福瑞盈TV-BOX 遥控器
Diffstat (limited to 'ANDROID_3.4.5/drivers')
-rwxr-xr-xANDROID_3.4.5/drivers/input/rmtctl/wmt-rmtctl.c52
1 files changed, 52 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/drivers/input/rmtctl/wmt-rmtctl.c b/ANDROID_3.4.5/drivers/input/rmtctl/wmt-rmtctl.c
index 44f3b30b..61e27ea6 100755
--- a/ANDROID_3.4.5/drivers/input/rmtctl/wmt-rmtctl.c
+++ b/ANDROID_3.4.5/drivers/input/rmtctl/wmt-rmtctl.c
@@ -118,6 +118,58 @@ static struct cir_param rmtctl_params[] = {
};
static struct cir_vendor_info rmtctl_vendors[] = {
+ //Add by Flourise Kevin for FuRuiYing IR keypad 2014.11.29 Start
+ {
+ .vendor_name = "Ly-01",
+ .codec = CIR_CODEC_NEC,
+ .vendor_code = 0x00FF,
+ .wakeup_code = 0x18,
+ .key_codes = {
+ [0x18] = KEY_POWER, /* power down */
+ [0xF2] = KEY_SWITCHVIDEOMODE, /*Cycle between available vide outputs (Monitor/LCD/TV-out/etc) */
+
+ [0x54] = KEY_1,
+ [0x48] = KEY_2,
+ [0x07] = KEY_3,
+ [0x50] = KEY_4,
+ [0x12] = KEY_5,
+ [0x11] = KEY_6,
+ [0x4c] = KEY_7,
+ [0x0e] = KEY_8,
+ [0x0d] = KEY_9,
+// [0x41] = KEY_SW_INPUT_TYPE, /*switch input type*/
+ [0x0c] = KEY_0,
+ [0x4b] = KEY_BACKSPACE, /* backspace */
+
+ [0x06] = KEY_HOME, /* Home */
+ [0x40] = KEY_BACK, /* back */
+
+ [0x46] = KEY_UP, /* up */
+
+ [0x47] = KEY_LEFT, /*left*/
+ [0x55] = KEY_ENTER, /* OK */
+ [0x15] = KEY_RIGHT, /*Right*/
+
+ [0x16] = KEY_DOWN, /*Down*/
+
+ [0x04] = KEY_MENU, /* menu */
+ [0x17] = KEY_KATAKANA, /* cursor */
+
+
+
+ [0x14] = KEY_VOLUMEDOWN, /*volume down*/
+ [0x08] = KEY_MUTE, /* mute */
+ [0x10] = KEY_VOLUMEUP, /*volume Up*/
+
+
+// [0x56] = KEY_TV, /*start TV*/
+// [0x57] = KEY_QQ, /*start QQ*/
+ [0x1f] = KEY_PREVIOUSSONG, /*previous song*/
+ [0x5b] = KEY_NEXTSONG, /*next song*/
+ },
+ },
+ //Add by Flourise Kevin for FuRuiYing IR keypad 2014.11.29 End
+
// SRC1804 0
{
.vendor_name = "SRC1804",