mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix: permanent PTT mute on Linux Wayland evdev backend (#1078)
Co-authored-by: Jiralite <[email protected]>
This commit is contained in:
1 parent
c9def5e1f1
commit
b80d41a7bf
2 files changed
+5
-3
No files matched your search
@@ -1337,7 +1337,9 @@ class KeybindManager {
|
||||
event.backend === 'evdev' || (event.backend === 'native' && isNativeMacOS())
|
||||
? (binding.physicalKeyName ?? binding.keyName)
|
||||
: binding.keyName;
|
||||
if (expectedName !== null) return event.keyName === expectedName;
|
||||
if (expectedName !== null && event.keyName === expectedName) {
|
||||
return true;
|
||||
}
|
||||
return binding.keycode !== null && event.keycode === binding.keycode;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user