pyqtkeybind
pyqtkeybind copied to clipboard
Win key as modifier
Can you possibly add a support for registering listeners for Win+Smth combos?
@el-nprotect thanks for reporting this issue.
Which operating system are you on? Did you try registering the hotkey combination with Meta+Smth
?
Just tried it:
keybinder.register_hotkey(window.winId(), "Meta+X", window.hotkeyEvent)
Nothing happens when pressing Win+X. OS is Win 7 x64.
I'm on Ubuntu 20.04 and I noticed that some Meta+Something
work, while others do not. I think it might be related to how OS intercepts those keystrokes.
For example, even if I setup a custom keyPressEvent
in Qt to basically detect all keystrokes, and press Meta+D
(not even talking about global hotkeys -- I'm talking about pressing that when the app is in focus so it should go directly to it), it doesn't get detected. But Meta+F
, Meta+G
, Meta+W
and many others work.
Is it possible to bind Meta+Ctrl
?