Skip to content

fix keyboard offset in win11 25h2#17

Open
jhl337 wants to merge 1 commit intomemflow:mainfrom
jhl337:main
Open

fix keyboard offset in win11 25h2#17
jhl337 wants to merge 1 commit intomemflow:mainfrom
jhl337:main

Conversation

@jhl337
Copy link
Copy Markdown

@jhl337 jhl337 commented Feb 22, 2026

In Windows 11 25H2, this offset has changed to 0x3800(14336).
If still uses 0x3808, the function is_key_down will returns the incorrect result.

OS Version: Windows 11 25H2 (Internal: 26200.7705)
image

@jhl337
Copy link
Copy Markdown
Author

jhl337 commented Feb 22, 2026

For example, if you use is_key_down to detect the state of the 0x01 key, it actually returns the status of the 0x20 key instead.

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.

1 participant