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 - Implement TEXTINPUT events for Haiku
Summary: Implement TEXTINPUT events for Haiku
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: All Haiku
: P2 enhancement
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 18:29 UTC by Kai Sterker
Modified: 2016-10-20 03:42 UTC (History)
1 user (show)

See Also:


Attachments
Patch to generate proper SDL_TEXTINPUT event on Haiku (2.94 KB, patch)
2016-10-19 18:29 UTC, Kai Sterker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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