Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Sainan
Copy link
Contributor

@Sainan Sainan commented Oct 26, 2024

This fixes #78. As explained in the issue, MapVirtualKeyA always uses the current layout, so to truly have the intended effect, the mapping needs to be hardcoded (we could load the US layout to use with MapVirtualKeyExA but it would have undesirable side-effects).

I did end up mapping directly between HID page 7 usage id and VirtualKey instead of using PS/2 scancodes as a middleman.

@simon-wh simon-wh merged commit bc31f47 into WootingKb:develop Oct 30, 2024
1 check passed
@Sainan Sainan deleted the vk-fix branch October 30, 2024 15:27
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

Successfully merging this pull request may close these issues.

VirtualKey mode does the same as VirtualKeyTranslate

2 participants