Skip to content

Fix NumLock and PrintScreen key actions doing nothing on Windows - #1458

Merged
manuelmayer-dev merged 1 commit into
mainfrom
fix/windows-numlock-key-press-1442
Oct 22, 2026
Merged

manuelmayer-dev merged 1 commit into
mainfrom
fix/windows-numlock-key-press-1442

Conversation

@manuelmayer-dev

@manuelmayer-dev manuelmayer-dev commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Closes #1442

Summary

Keyboard actions on Windows injected NumLock as E0 45 and PrintScreen as E0 54, scan codes Windows maps to no key, so both did nothing. NumLock is now sent by virtual key with its scan code and PrintScreen with its physical scan code E0 37, so both arrive like the physical keys.

Testing

Windows platform tests pass, including new tests that resolve every key the host presses on US and German layouts and inject the lock keys, Pause and all extended keys through a low-level hook; they fail without the fix. Verified on Windows 11 against a running host (the NumLock action now toggles NumLock) and manually tested through the desktop UI.

Notes

Now that NumLock can be turned off from a deck, numpad digit actions act as navigation keys while it is off, like the physical numpad. A PrintScreen action now opens the Snipping Tool on Windows 11 by default.

Checklist

  • Tests were added or updated where needed
  • The change was verified manually where appropriate
  • Documentation was updated if the change affects documented behaviour
  • I reviewed and understand every submitted change

@manuelmayer-dev manuelmayer-dev added bug Something isn't working area:host Host: Domain, Application, Infrastructure area:integrations Built-in integrations and their actions platform:windows Windows-specific labels Oct 22, 2026
@manuelmayer-dev
manuelmayer-dev merged commit cf187b1 into main Oct 22, 2026
18 checks passed
@manuelmayer-dev
manuelmayer-dev deleted the fix/windows-numlock-key-press-1442 branch October 22, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:host Host: Domain, Application, Infrastructure area:integrations Built-in integrations and their actions bug Something isn't working platform:windows Windows-specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] NumLock key press does nothing on Windows

1 participant