How do you know the keyboard/mouse input has been processed by CEGUI so that you wont try to process it in your own code?
for example I have code like this to capture input:
Code: Select all
SDL_Event event;
while(SDL_PollEvent(&event))
{
case SDL_KEYDOWN:
switch(event.key.keysym.sym)
{
case SDLK_LEFT: // Do something
break;
}
}
so how do you know CEGUI has processed the input so that I wont process it with SDL_pollevent ?
I dont want to catch the input my self when trying to edit an editbox in CEGUI.
thanks
CEGUI Log:
Code: Select all
18/09/2015 09:46:14 (Std) ---- Version: 0.8.4 (Build: Aug 8 2015 Debug Microsoft Windows MSVC++ Great Scott! 32 bit) ----
18/09/2015 09:46:14 (Std) ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module. TextureTarget support enabled via FBO extension. ----
18/09/2015 09:46:14 (Std) ---- XML Parser module is: Unknown XML parser (vendor did not set the ID string!) ----
18/09/2015 09:46:14 (Std) ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
18/09/2015 09:46:14 (Std) ---- Scripting module is: None ----