#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 43 of file IrrlichtEventPusher.h. |
|
Definition at line 53 of file IrrlichtEventPusher.h. |
|
translate the irrlicht keycode to cegui keycode
Definition at line 307 of file IrrlichtEventPusher.h. References CEGUI::uchar. |
|
Definition at line 150 of file IrrlichtEventPusher.h. |
|
Definition at line 55 of file IrrlichtEventPusher.h. Referenced by CEGUI::IrrlichtRenderer::OnEvent(). |
|
Definition at line 76 of file IrrlichtEventPusher.h. References CEGUI::System::getSingleton(), CEGUI::System::injectChar(), and CEGUI::System::injectKeyDown(). |
|
Definition at line 85 of file IrrlichtEventPusher.h. References CEGUI::System::getSingleton(), and CEGUI::System::injectKeyUp(). |
|
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::Point, and CEGUI::MouseCursor::setPosition(). |
|
Definition at line 148 of file IrrlichtEventPusher.h. |