Skip to content

fix keyboard offset in win11 25h2 - #17

Open
jhl337 wants to merge 1 commit into
memflow:mainfrom
jhl337:main
Open

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

Conversation

@jhl337

@jhl337 jhl337 commented Feb 22, 2026

Copy link
Copy Markdown

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

jhl337 commented Feb 22, 2026

Copy link
Copy Markdown
Author

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.

@jhl337

jhl337 commented Jun 19, 2026

Copy link
Copy Markdown
Author

@ko1N @h33p

@ko1N

ko1N commented Jun 25, 2026

Copy link
Copy Markdown
Member

This will however break the version that required 0x3808 🙈

We really need a rework of this, ideally based on some proper sigscanner using goblin or pelite.

@ko1N ko1N self-assigned this Jun 25, 2026
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.

2 participants