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 1702 - Android soft keyboard fails to pass all input
Summary: Android soft keyboard fails to pass all input
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: ARM Android (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-22 09:31 UTC by Jonny D
Modified: 2013-01-26 07:32 UTC (History)
1 user (show)

See Also:


Attachments
Patch for Android software keyboard text input (677 bytes, patch)
2013-01-22 09:46 UTC, Jonny D
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonny D 2013-01-22 09:31:24 UTC
I'm using the Android port and noticed that many keys from the software keyboard are not passed through SDL's text input API.  Among other keys, none of the numerical keys work.  I've seen the same on a device and emulator.  Here's a patch (attached) that passes on the needed data from the SDLInputConnection::sendKeyEvent callback.
Comment 1 Jonny D 2013-01-22 09:46:03 UTC
Created attachment 1026 [details]
Patch for Android software keyboard text input
Comment 2 Gabriel Jacobo 2013-01-26 07:32:51 UTC
http://hg.libsdl.org/SDL/rev/436b5b8a5b98 Thanks!