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 5262

Summary: Normal keys caught as textinput but they don't get correctly recognized
Product: SDL Reporter: ionutpantazi4
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.12   
Hardware: x86_64   
OS: Windows 10   

Description ionutpantazi4 2020-08-17 23:22:39 UTC
Function keys like alt enter ctrl etc all get picked by sdl_keydown , and they work normally , but keys like letters and numbers get picked up by sdl_textinput but they don't recognized correctly , if statements don't work and when i try to output the keys with sdl_getkeyname i get gibberish(ⁿÆëçó) or nothing at all .
Comment 1 ionutpantazi4 2020-08-18 16:12:33 UTC
My accesing of g_event was invalid , it isn't a bug.