From c5b154eb7d4ff8e14750c4a4e50ec48bfd64b1cb Mon Sep 17 00:00:00 2001 From: wangzijiao Date: Wed, 26 Sep 2018 13:00:06 +0800 Subject: [PATCH] change key platform config --- .../netease_control_center/modules/controller/keyInputEvent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/netease_control_center_common_module/src/netease_control_center/modules/controller/keyInputEvent.go b/app/netease_control_center_common_module/src/netease_control_center/modules/controller/keyInputEvent.go index 1ee89d0..eec843f 100755 --- a/app/netease_control_center_common_module/src/netease_control_center/modules/controller/keyInputEvent.go +++ b/app/netease_control_center_common_module/src/netease_control_center/modules/controller/keyInputEvent.go @@ -299,7 +299,7 @@ func TriggerKey(keycode int, isPress bool) { } func KeyApp() error { - dev, err := evdev.Open(devpath) + dev, err := evdev.Open(globals.GetCurPlatformConfig().InputKeyPath) if err != nil { return err }