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 3461

Summary: Implement TEXTINPUT events for Haiku
Product: SDL Reporter: Kai Sterker <kai.sterker>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: kai.sterker
Version: HG 2.0   
Hardware: All   
OS: Haiku   
Attachments: Patch to generate proper SDL_TEXTINPUT event on Haiku

Description Kai Sterker 2016-10-19 18:29:15 UTC
Created attachment 2587 [details]
Patch to generate proper SDL_TEXTINPUT event on Haiku

Apparently, SDL2 on Haiku does not generate SDL_TEXTINPUT events.
Attached is a patch that adds this functionality.

Tested with SDLs own checkkeys program and different keymaps as well as my own SDL application and German keyboard layout to verify it generates the expected input.
Comment 1 Sam Lantinga 2016-10-20 03:42:44 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/476a717c10cf