![]() |
nomlib
|
#include <Event.hpp>
Public Types | |
| enum | EventType : uint32 { FIRST_EVENT = 0 , QUIT_EVENT , WINDOW_EVENT , SYSWMEVENT , KEY_PRESS , KEY_RELEASE , MOUSE_MOTION , MOUSE_BUTTON_CLICK , MOUSE_BUTTON_RELEASE , MOUSE_WHEEL , JOYSTICK_AXIS_MOTION , JOYSTICK_BALL_MOTION , JOYSTICK_HAT_MOTION , JOYSTICK_BUTTON_PRESS , JOYSTICK_BUTTON_RELEASE , JOYSTICK_ADDED , JOYSTICK_REMOVED , GAME_CONTROLLER_AXIS_MOTION , GAME_CONTROLLER_BUTTON_PRESS , GAME_CONTROLLER_BUTTON_RELEASE , GAME_CONTROLLER_ADDED , GAME_CONTROLLER_REMOVED , GAME_CONTROLLER_REMAPPED , FINGER_MOTION , FINGER_PRESS , FINGER_RELEASE , MULTI_FINGER_GESTURE , DROP_FILE , TEXT_INPUT , TEXT_EDITING , RENDER_TARGETS_RESET , USER_EVENT } |
Public Attributes | |
| uint32 | type |
| The event type. | |
| uint32 | timestamp |
| The recorded time at the moment of the event. | |
| union { | |
| QuitEvent quit | |
| WindowEvent window | |
| KeyboardEvent key | |
| MouseMotionEvent motion | |
| MouseButtonEvent mouse | |
| MouseWheelEvent wheel | |
| JoystickButtonEvent jbutton | |
| JoystickAxisEvent jaxis | |
| JoystickHatEvent jhat | |
| JoystickDeviceEvent jdevice | |
| GameControllerAxisEvent caxis | |
| GameControllerButtonEvent cbutton | |
| GameControllerDeviceEvent cdevice | |
| FingerTouchEvent touch | |
| GestureEvent gesture | |
| DragDropEvent drop | |
| TextInputEvent text | |
| TextEditingEvent edit | |
| UserEvent user | |
| }; | |
| enum nom::Event::EventType : uint32 |
| GameControllerAxisEvent nom::Event::caxis |
| GameControllerButtonEvent nom::Event::cbutton |
| GameControllerDeviceEvent nom::Event::cdevice |
| DragDropEvent nom::Event::drop |
| TextEditingEvent nom::Event::edit |
| GestureEvent nom::Event::gesture |
| JoystickAxisEvent nom::Event::jaxis |
| JoystickButtonEvent nom::Event::jbutton |
| JoystickDeviceEvent nom::Event::jdevice |
| JoystickHatEvent nom::Event::jhat |
| KeyboardEvent nom::Event::key |
| MouseMotionEvent nom::Event::motion |
| MouseButtonEvent nom::Event::mouse |
| TextInputEvent nom::Event::text |
| uint32 nom::Event::timestamp |
| FingerTouchEvent nom::Event::touch |
| uint32 nom::Event::type |
| MouseWheelEvent nom::Event::wheel |
| WindowEvent nom::Event::window |