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 }