We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4940 - [WIN32] Key presses with unset scancode get ignored
Summary: [WIN32] Key presses with unset scancode get ignored
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.10
Hardware: All Windows (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-13 16:08 UTC by Rokas Kupstys
Modified: 2020-01-17 11:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rokas Kupstys 2020-01-13 16:08:42 UTC
Windows clipboard (Win+v) sends windows messages for CTRL+v with no scancode set. These key presses are lost because scancode is used to translate key press to SDL key.
Comment 1 Rokas Kupstys 2020-01-17 11:00:03 UTC
For reference this is how GLFW fixed it: https://github.com/glfw/glfw/commit/789a2bcb3985a882944f3ae8dc6aa8aa22a23494