The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
How do I get cursor left/right events from iPhone keyboard?
oviano


Joined: 05 Mar 2016
Posts: 24
I'm using SDL_StartTextInput to open the virtual keyboard.

It all works fine, except there doesn't seem to be any events generated when you tap the < and > buttons on the keyboard (these buttons appear in landscape mode).

Not only that, but tapping < seems to stop further SDL_TEXTINPUT events - until you press > again.

I tried enabling system events but nothing shows up via these either.

Has anyone got this working?
oviano


Joined: 05 Mar 2016
Posts: 24
I should add, this is iOS 10.2 and SDL 2.0.5.