change key platform config

This commit is contained in:
wangzijiao 2018-09-26 13:00:06 +08:00
parent e211f328b4
commit c5b154eb7d
1 changed files with 1 additions and 1 deletions

View File

@ -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
}