Jump to content

[SOLVED] Unicode characters as keyboard input for EditText widget


photo

Recommended Posts

Hi all,

I want to represent non-ascii characters in a WidgetEditText, but it looks like Unigine doesn't recognize these keyboard inputs  (for example á,é,í,ó,...) To be more precise, when I press the accent key (´) repeatedly it has no effect when it should represent this character (I'm using a spanish keyboard) This test was done with widgets/text_00 demo.

 

Thanks in advance,

Iván.

Link to comment
  • 2 weeks later...

When I use default AppWindow (app = NULL) it fails. I've tried with OpenGL(GLAppWindow) and Direct3D11(D3D11AppWindow)

With AppQt (GLAppQt) it works fine.

Link to comment
  • 4 weeks later...

I think screenshots will not help you, looks like it's a keyboard input problem.

In text_00 demo, if I try to type "organización" in the text widget It shows "organizacion", but If I copy that text in clipboard  and paste it in the widget It shows "organización".

I didn't have too much time to debug it, but I saw that character "´" is ignored in some way because app->app->keyPressUnicode() it's not called at window_proc (AppWindow.cpp ln 416)

 

Keyboards events are managed in a different way in Qt application and works ok.

 

Hope this helps.

Link to comment
  • 8 months later...
×
×
  • Create New...