[SDL] SDL 1.3 Keyboard Events in WebView

Korich korich-vip at yandex.ru
Sun Jul 31 03:05:05 PDT 2011


Hello,

I have few menu with WebView and
I try to write text to the Text Field, but some keys doesn't work
Backspace, Enter, Left, Right, Up, Down, Delete doesn't work

When I push keys a Text Field gets symbol not action, example, the Enter key add symbol Newline and I see a space in field.

for SDL 1.3 I add 

Code:
SDL_EnableUNICODE(1);

 
because without this func a keyboard doesn't work correct

in gameplay all keys work correct.

Xcode 3.2.6 Mac OS 10.6.8

please give me some advice

------------------------
Mac OS / iPhone Game Developer




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110731/e57b4e0f/attachment-0007.htm>


More information about the SDL mailing list