You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought that it might be a Windows-specific issue so might only appear in winrt-rs. If it's a winit level limitation, please let me know and I'll consider filing an issue there. It may be related to the raw device events discussion.
Agreed, this seems to be a question directed at winit rather than Rust/WinRT.
FWIW, I'd advise against overriding system hotkeys. I also don't believe there's a way to prevent the system from receiving the keys. If you really need to detect the key-press for some reason, you should look into SetWindowsHookExW. However it won't stop the system from responding to it as well.
Some key presses are handled by the Windows' window manager, such as Win+x.
Is it possible to:
Example code: If a
winit::event::DeviceEvent::Key
is detected, pass it to the following function:The text was updated successfully, but these errors were encountered: