Input management: use with screens !
More...
#include <input_handler.hpp>
Input management: use with screens !
Definition at line 34 of file input_handler.hpp.
void hx3d::window::InputHandler::onKeyPressed |
( |
KeyEvent::Key |
key | ) |
|
|
virtual |
void hx3d::window::InputHandler::onKeyReleased |
( |
KeyEvent::Key |
key | ) |
|
|
virtual |
When a mouse click event occur.
- Parameters
-
button | Mouse button |
mousePosition | Mouse position |
Definition at line 27 of file input_handler.cpp.
void hx3d::window::InputHandler::onMouseMotion |
( |
glm::vec2 |
mousePosition, |
|
|
glm::vec2 |
mouseMovement |
|
) |
| |
|
virtual |
When a mouse move event occur.
- Parameters
-
mousePosition | Mouse position |
mouseMovement | Mouse movement |
Definition at line 30 of file input_handler.cpp.
When a mouse click release event occur.
- Parameters
-
button | Mouse button |
mousePosition | Mouse position |
Definition at line 28 of file input_handler.cpp.
When a mouse wheel event occur.
- Parameters
-
direction | Wheel direction |
wheelMovement | Wheel movement |
Definition at line 29 of file input_handler.cpp.
void hx3d::window::InputHandler::onTouchDown |
( |
glm::vec2 |
touchPosition, |
|
|
float |
touchPressure |
|
) |
| |
|
virtual |
When a touch down event occur.
- Parameters
-
touchPosition | Touch position |
touchPressure | Touch pressure |
Definition at line 32 of file input_handler.cpp.
void hx3d::window::InputHandler::onTouchMotion |
( |
glm::vec2 |
touchPosition, |
|
|
glm::vec2 |
touchMovement, |
|
|
float |
touchPressure |
|
) |
| |
|
virtual |
When a touch move event occur.
- Parameters
-
touchPosition | Touch position |
touchMovement | Touch movement |
touchPressure | Touch pressure |
Definition at line 34 of file input_handler.cpp.
void hx3d::window::InputHandler::onTouchUp |
( |
glm::vec2 |
touchPosition, |
|
|
float |
touchPressure |
|
) |
| |
|
virtual |
When a touch up event occur.
- Parameters
-
touchPosition | Touch position |
touchPressure | Touch pressure |
Definition at line 33 of file input_handler.cpp.
The documentation for this class was generated from the following files: