Merge pull request #588 from thjbdvlt/hyper-keys
Some checks failed
CI / test-and-build-linux (1.21.x, ubuntu-22.04, 5.15.16) (push) Has been cancelled
CI / test-and-build-macos-x86_64 (1.21.x, macos-13) (push) Has been cancelled
CI / test-and-build-macos-arm64 (1.21.x, macos-14, 5.15.16) (push) Has been cancelled
CI / test-windows-mingw (1.21.0, windows-latest) (push) Has been cancelled
CI / build-windows-mingw (1.21.0, windows-latest) (push) Has been cancelled

Add Hyper_L/R to the list of non-input keys
This commit is contained in:
akiyosi 2025-06-16 23:51:16 +09:00 committed by GitHub
commit 0df49da78b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -244,6 +244,8 @@ func (e *Editor) convertKey(event *gui.QKeyEvent) string {
key == int(core.Qt__Key_Control) ||
key == int(core.Qt__Key_Meta) ||
key == int(core.Qt__Key_Shift) ||
key == int(core.Qt__Key_Hyper_L) ||
key == int(core.Qt__Key_Hyper_R) ||
key == int(core.Qt__Key_Super_L) ||
key == int(core.Qt__Key_Super_R) {
return ""