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 1163 - SDL_TEXTINPUT not being received on iPhoneOS
Summary: SDL_TEXTINPUT not being received on iPhoneOS
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: iPhone/iPod touch iOS (All)
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 17:26 UTC by Forest Hale
Modified: 2011-03-09 17:43 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 Forest Hale 2011-03-08 17:26:56 UTC
The virtual keyboard on iPhoneOS works great at delivering SDL_KEYDOWN and SDL_KEYUP events to an SDL_Window, however no SDL_TEXTINPUT events are delivered.

The unicode field on the key events is 0 (as expected on key events to SDL_Window).

Imperfect workarounds are possible in applications, but not desired.

Behavior observed in Darkplaces engine in experimental iphoneos support (SVN is at svn://svn.icculus.org/twilight/trunk/darkplaces and important code is vid_sdl.c ).
Comment 1 Sam Lantinga 2011-03-09 17:43:58 UTC
This is fixed, thanks!
http://hg.libsdl.org/SDL/rev/94f742ce580a