backspace and delete not woking

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

marty188586
Just popping in
Just popping in
Posts: 4
Joined: Sat Mar 02, 2013 02:11

backspace and delete not woking

Postby marty188586 » Sun Apr 07, 2013 14:47

Hello,

I've a editbox and I can input but delete and backspace isn't working.
I have checked other topics in this formula, I said we shuld inject scancode insted of virtualcode into CEGUI.
However, even I send scancode to CEGUI, it still don'y work.

I send the scancode like this
SDL_Event event;

case SDL_KEYDOWN :
CEGUI::System::getSingleton().injectKeyDown(event->key.keysym.scancode);

case SDL_KEYUP :
CEGUI::System::getSingleton().injectKeyUp(event->key.keysym.scancode);

What have I done wrong?

Thanks for any help.

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Re: backspace and delete not woking

Postby maori » Sun Apr 07, 2013 15:42

Heya

the backspace is kinda diffrent IIRC

this may help you http://www.cegui.org.uk/wiki/index.php/ ... Repeat_Key
trying to upgrade to 0.8.2 from 0.7.9 :D


Return to “Help”

Who is online

Users browsing this forum: No registered users and 11 guests