有任何方法可以做到吗?
不用 PyQt5 也可以
|  |      1Felldeadbird      2020-06-12 21:03:55 +08:00 via iPhone 将 win 注册为全局热键,做一个空白打印? | 
|  |      2Leon6868 OP @Felldeadbird 好像不行,user32.RegisterHotKey 不能单独注册 win 键 | 
|  |      3Felldeadbird      2020-06-12 22:21:30 +08:00 @Leon6868 我之前注册全局热键,是用 pyqtkeybind | 
|  |      4Leon6868 OP @Felldeadbird 还是不行,我使用“keybinder.register_hotkey(window.winId(), "Win",win)”,无法调用 | 
|  |      5ysc3839      2020-06-13 00:06:03 +08:00 via Android 大概只能用 low level keyboard hook https://docs.microsoft.com/en-us/windows/win32/dxtecharts/disabling-shortcut-keys-in-games | 
|      6whi147      2020-06-13 16:26:21 +08:00 via iPhone 写一个 cpp 的文件 c++注册键盘 hook,然后 python 调 cpp 内函数 |