Hello,
First of all -- Yes I'm setting up my Keyboard the way showed in tutorials/wiki and from past experience.
I'm calling keyboard->setEventCallback(this) in my constructor with an inheritance of OIS::KeyListener, and in frameStart() I'm calling keyboard->capture().
My mouse is set up the exact same way and all MouseEvents are called perfectly and interacting with CEGUI also fine. I've debugged and all values seem to be running perfectly in initialisation just when the actual key is pressed, no event is being hit...
I've also done it manually through processUnbufferedKeyInput() to inject the key press into CEGUI and that calls my events no problem.
So why would this not be calling key events automatically? Do I need to handle every single key that I'll be using with the CEGUI manually? That'd be quite a pain if so...
Thanks~
KeyEvent not called even with capture() & setEventCallba
Moderators: CEGUI MVP, CEGUI Team
-
- Just popping in
- Posts: 6
- Joined: Thu Oct 11, 2007 15:44
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 3 guests