change key platform config
This commit is contained in:
parent
e211f328b4
commit
c5b154eb7d
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue