Skip to content

Conversation

@user202729
Copy link
Member

@user202729 user202729 commented Jul 16, 2025

Summary of changes

Closes #1754

The functions to calculate the mapping from virtual key code to scancode are already there, we just need to pass the correct values.

Manually tested on Windows 10 (after cherry-picked to v4.0.3).

Pull Request Checklist

  • Changes have tests
  • News fragment added in news.d. See documentation for details

@user202729
Copy link
Member Author

user202729 commented Jul 16, 2025

actually looks like this may still fail for uppercase characters, needs more testing. still, this is better than the status quo.

edit; the issue with uppercase character appears to be code being shift instead of shiftL or shiftR which leads to the scan code being zero.

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.

Key code not correctly sent in Windows

1 participant