![]() |
Aether3D Game Engine
|
Window event is a key press, close event, mouse click etc. More...
#include <Window.hpp>
Public Attributes | |
WindowEventType | type = WindowEventType::None |
Event type. | |
KeyCode | keyCode = KeyCode::A |
Key code. | |
int | mouseX = 0 |
X coordinate in window. Origin: left. | |
int | mouseY = 0 |
Y coordinate in window. Origin: bottom. | |
float | gamePadThumbX = 0 |
Gamepad's thumb x in range [-1, 1]. Event type indicates left or right thumb. | |
float | gamePadThumbY = 0 |
Gamepad's thumb y in range [-1, 1]. Event type indicates left or right thumb. | |
Window event is a key press, close event, mouse click etc.