ivan.cuevas Posted May 16, 2013 Posted May 16, 2013 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.
ivan.cuevas Posted May 17, 2013 Author Posted May 17, 2013 Looks like this problem doesn't happen when Unigine is integrated in Qt.
ivan.cuevas Posted May 30, 2013 Author Posted May 30, 2013 When I use default AppWindow (app = NULL) it fails. I've tried with OpenGL(GLAppWindow) and Direct3D11(D3D11AppWindow) With AppQt (GLAppQt) it works fine.
frustum Posted June 24, 2013 Posted June 24, 2013 That's strange. Please send screenshots which represent the problem to us. We will try to reproduce it.
ivan.cuevas Posted June 26, 2013 Author Posted June 26, 2013 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.
Recommended Posts