10 #ifndef SLEVENTHANDLER_H
11 #define SLEVENTHANDLER_H
SLMouseButton
Mouse button codes.
SLKey
Keyboard key codes enumeration.
vector< SLEventHandler * > SLVEventHandler
typedef void(SL_STDCALL *cbOnImGuiBuild)(SLScene *s
Callback function typedef for ImGui build function.
Virtual Eventhandler class.
virtual SLbool onTouch3Move(const SLint x1, const SLint y1)
virtual ~SLEventHandler()
virtual SLbool onKeyRelease(const SLKey key, const SLKey mod)
virtual SLbool onTouch3Up(const SLint x1, const SLint y1)
virtual SLbool onTouch2Up(const SLint x1, const SLint y1, const SLint x2, const SLint y2)
SLfloat _keyboardDeltaPos
Delta dist. for keyboard translation.
virtual SLbool onKeyPress(const SLKey key, const SLKey mod)
SLfloat _mouseRotationFactor
Mouse rotation sensibility.
virtual SLbool onMouseUp(const SLMouseButton button, const SLint x, const SLint y, const SLKey mod)
virtual SLbool onTouch3Down(const SLint x1, const SLint y1)
virtual SLbool onMouseMove(const SLMouseButton button, const SLint x, const SLint y, const SLKey mod)
virtual SLbool onRotationPYR(const SLfloat pitchRAD, const SLfloat yawRAD, const SLfloat rollRAD)
virtual SLbool onMouseDown(const SLMouseButton button, const SLint x, const SLint y, const SLKey mod)
virtual SLbool onDoubleClick(const SLMouseButton button, const SLint x, const SLint y, const SLKey mod)
virtual SLbool onTouch2Move(const SLint x1, const SLint y1, const SLint x2, const SLint y2)
virtual SLbool onTouch2Down(const SLint x1, const SLint y1, const SLint x2, const SLint y2)
virtual SLbool onMouseWheel(const SLint delta, const SLKey mod)
void mouseRotationFactor(SLfloat rf)
SLfloat mouseRotationFactor()