Ident wrote:Are you also doing injectChar(...) ?
Oh my god I'm stupid...
Code: Select all
case KEY_SPACE:
{
CEGUISystem->getDefaultGUIContext().injectKeyDown(CEGUI::Key::Scan::Space);
CEGUISystem->getDefaultGUIContext().injectChar(' ');
return true;
}This fixed it