Loading...
Searching...
No Matches
Event.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
MouseButtonEvent mouseButton
Mouse button event parameters (Event::MouseButtonPressed, Event::MouseButtonReleased)
Definition Event.hpp:228
JoystickButtonEvent joystickButton
Joystick button event parameters (Event::JoystickButtonPressed, Event::JoystickButtonReleased)
Definition Event.hpp:232
TouchEvent touch
Touch events parameters (Event::TouchBegan, Event::TouchMoved, Event::TouchEnded)
Definition Event.hpp:234
MouseWheelScrollEvent mouseWheelScroll
Mouse wheel event parameters (Event::MouseWheelScrolled)
Definition Event.hpp:230
MouseWheelEvent mouseWheel
Mouse wheel event parameters (Event::MouseWheelMoved) (deprecated)
Definition Event.hpp:229
JoystickConnectEvent joystickConnect
Joystick (dis)connect event parameters (Event::JoystickConnected, Event::JoystickDisconnected)
Definition Event.hpp:233
JoystickMoveEvent joystickMove
Joystick move event parameters (Event::JoystickMoved)
Definition Event.hpp:231
@ JoystickButtonReleased
A joystick button was released (data in event.joystickButton)
Definition Event.hpp:205
@ MouseWheelScrolled
The mouse wheel was scrolled (data in event.mouseWheelScroll)
Definition Event.hpp:198
@ JoystickMoved
The joystick moved along an axis (data in event.joystickMove)
Definition Event.hpp:206
@ MouseWheelMoved
The mouse wheel was scrolled (data in event.mouseWheel) (deprecated)
Definition Event.hpp:197
@ JoystickButtonPressed
A joystick button was pressed (data in event.joystickButton)
Definition Event.hpp:204
@ MouseButtonReleased
A mouse button was released (data in event.mouseButton)
Definition Event.hpp:200
@ JoystickDisconnected
A joystick was disconnected (data in event.joystickConnect)
Definition Event.hpp:208
Definition AlResource.hpp:35
Joystick buttons events parameters (JoystickButtonPressed, JoystickButtonReleased)
Definition Event.hpp:156
unsigned int joystickId
Index of the joystick (in range [0 .. Joystick::Count - 1])
Definition Event.hpp:157
unsigned int button
Index of the button that has been pressed (in range [0 .. Joystick::ButtonCount - 1])
Definition Event.hpp:158
Joystick connection events parameters (JoystickConnected, JoystickDisconnected)
Definition Event.hpp:135
unsigned int joystickId
Index of the joystick (in range [0 .. Joystick::Count - 1])
Definition Event.hpp:136
Joystick axis move event parameters (JoystickMoved)
Definition Event.hpp:144
unsigned int joystickId
Index of the joystick (in range [0 .. Joystick::Count - 1])
Definition Event.hpp:145
Mouse buttons events parameters (MouseButtonPressed, MouseButtonReleased)
Definition Event.hpp:97
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition Event.hpp:99
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition Event.hpp:100
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition Event.hpp:88
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition Event.hpp:87
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition Event.hpp:113
int delta
Number of ticks the wheel has moved (positive is up, negative is down)
Definition Event.hpp:112
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition Event.hpp:114
Mouse wheel events parameters (MouseWheelScrolled)
Definition Event.hpp:122
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition Event.hpp:125
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition Event.hpp:126
float delta
Wheel offset (positive is up/left, negative is down/right). High-precision mice may use non-integral ...
Definition Event.hpp:124
Touch events parameters (TouchBegan, TouchMoved, TouchEnded)
Definition Event.hpp:166