Event triggered when mouse is moved.
More...
#include <inputs/InputSystem.hpp>
|
|
static const std::string | GetStaticEventType () |
| |
|
|
int | x |
| |
|
int | y |
| | Current mouse position.
|
| |
|
int | deltaX |
| |
|
int | deltaY |
| | Mouse movement delta.
|
| |
Event triggered when mouse is moved.
◆ InputMouseMoveEvent()
| StevEngine::InputMouseMoveEvent::InputMouseMoveEvent |
( |
int | x, |
|
|
int | y, |
|
|
int | deltaX, |
|
|
int | deltaY ) |
|
inline |
Create mouse move event.
- Parameters
-
| x | New X position |
| y | New Y position |
| deltaX | X movement since last position |
| deltaY | Y movement since last position |
◆ GetEventType()
| const std::string StevEngine::InputMouseMoveEvent::GetEventType |
( |
| ) |
const |
|
inlineoverridevirtual |
Get type identifier for this event.
- Returns
- String identifier for event type
Implements StevEngine::Event.
The documentation for this class was generated from the following file: