Page 1 of 1

backspace and delete not woking

Posted: Sun Apr 07, 2013 14:47
by marty188586
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.

Re: backspace and delete not woking

Posted: Sun Apr 07, 2013 15:42
by maori
Heya

the backspace is kinda diffrent IIRC

this may help you http://www.cegui.org.uk/wiki/index.php/ ... Repeat_Key