Is it normal to get SDL_TEXTEDITING events w/o SDL_StartText |
Sparks
|
This is odd, on startup, I am getting a SDL_TEXTEDITING event and SDL_StartTextInput() isn't even called yet, since I didn't make a routine that calls SDL_StartTextInput() yet.
So, why is this event being fired? This is with SDL git head@2287c7b03 from the git mirror https://github.com/spurious/SDL-mirror.git
|
|||||||||||||
|
Sparks
|
Forgot to mention, this is on windows 7.
|
|||||||||||
|
Is it normal to get SDL_TEXTEDITING events w/o SDL_StartText |
john skaller
Guest
|
On 27/02/2015, at 3:56 PM, Sparks wrote:
That seems correct on desktop OS with a fixed keyboard. StartTextInput is only for touch screens, to popup the keyboard to tap on. [It might also do something to enable input of complex foreign code points such as Chinese, using some specialised input method, even on a desktop] -- john skaller http://felix-lang.org _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
Is it normal to get SDL_TEXTEDITING events w/o SDL_StartText |
Alex Szpakowski
Guest
|
Text input is enabled by default on desktop OS'.
|
|||||||||||||
|
Is it normal to get SDL_TEXTEDITING events w/o SDL_StartText |
Sik
|
2015-02-27 2:08 GMT-03:00, john skaller:
Yep, IME input doesn't work at all when text input isn't enabled (and handling this properly is important, because when it's enabled then you won't get keypress events for the letters since they're being captured by the IME!). _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|