Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows modifier codes failed to register #86

Open
temportalflux opened this issue May 10, 2024 · 0 comments
Open

Windows modifier codes failed to register #86

temportalflux opened this issue May 10, 2024 · 0 comments

Comments

@temportalflux
Copy link

HotKeyCode's Shift, Control, Alt, Meta (all Left and Right), as well as Pause (as in PauseBreak) fail to register on windows.
FailedToRegister("Unable to register hotkey (unknown VKCode for this key: ShiftLeft).")

It appears they are not supported as direct bindings via in key_to_vk

fn key_to_vk(key: &Code) -> Option<VIRTUAL_KEY> {

Tried to work around this by adding a hotkey with the corresponding modifier code using Unidentified as the vk_code, but that didnt not successfully register either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant