#include <IrrlichtEventPusher.h>
Public Member Functions | |
EventPusher (irr::gui::ICursorControl *ctrl) | |
virtual | ~EventPusher () |
bool | OnEvent (SEvent &event) |
bool | OnKeyDown (EKEY_CODE key, wchar_t wch, bool ctrl, bool shift) |
bool | OnKeyUp (EKEY_CODE key, wchar_t wch, bool ctrl, bool shift) |
bool | OnMouse (s32 x, s32 y, f32 w, EMOUSE_INPUT_EVENT e) |
Protected Member Functions | |
void | initCodes () |
uchar | getKeyCode (irr::EKEY_CODE kc) |
Protected Attributes | |
unsigned char | irr2ceCODE [irr::KEY_KEY_CODES_COUNT] |
Definition at line 34 of file IrrlichtEventPusher.h.
|
Definition at line 43 of file IrrlichtEventPusher.h. References initCodes(). |
|
Definition at line 53 of file IrrlichtEventPusher.h. |
|
translate the irrlicht keycode to cegui keycode
Definition at line 307 of file IrrlichtEventPusher.h. References irr2ceCODE. Referenced by OnKeyDown(), and OnKeyUp(). |
|
|
Definition at line 55 of file IrrlichtEventPusher.h. References OnKeyDown(), OnKeyUp(), and OnMouse(). Referenced by CEGUI::IrrlichtRenderer::OnEvent(). |
|
Definition at line 76 of file IrrlichtEventPusher.h. References getKeyCode(), CEGUI::System::getSingleton(), CEGUI::System::injectChar(), and CEGUI::System::injectKeyDown(). Referenced by OnEvent(). |
|
Definition at line 85 of file IrrlichtEventPusher.h. References getKeyCode(), CEGUI::System::getSingleton(), and CEGUI::System::injectKeyUp(). Referenced by OnEvent(). |
|
Left mouse button was pressed down. Right mouse button was pressed down. Middle mouse button was pressed down. Left mouse button was left up. Right mouse button was left up. Middle mouse button was left up. The mouse cursor changed its position. The mouse wheel was moved. Use Wheel value in event data to find out in what direction and how fast. Definition at line 93 of file IrrlichtEventPusher.h. References CEGUI::MouseCursor::getSingleton(), CEGUI::System::getSingleton(), CEGUI::System::injectMouseButtonDown(), CEGUI::System::injectMouseButtonUp(), CEGUI::System::injectMouseMove(), CEGUI::System::injectMouseWheelChange(), CEGUI::LeftButton, CEGUI::MiddleButton, CEGUI::RightButton, and CEGUI::MouseCursor::setPosition(). Referenced by OnEvent(). |
|
Definition at line 148 of file IrrlichtEventPusher.h. Referenced by getKeyCode(), and initCodes(). |