Event.hpp
7 // In no event will the authors be held liable for any damages arising from the use of this software.
float delta
Wheel offset (positive is up/left, negative is down/right). High-precision mice may use non-integral ...
Definition: Event.hpp:123
A joystick button was pressed (data in event.joystickButton)
Definition: Event.hpp:203
A joystick was disconnected (data in event.joystickConnect)
Definition: Event.hpp:207
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition: Event.hpp:113
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition: Event.hpp:98
Joystick buttons events parameters (JoystickButtonPressed, JoystickButtonReleased) ...
Definition: Event.hpp:154
unsigned int joystickId
Index of the joystick (in range [0 .. Joystick::Count - 1])
Definition: Event.hpp:144
A joystick was connected (data in event.joystickConnect)
Definition: Event.hpp:206
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition: Event.hpp:87
TouchEvent touch
Touch events parameters (Event::TouchBegan, Event::TouchMoved, Event::TouchEnded) ...
Definition: Event.hpp:233
MouseButtonEvent mouseButton
Mouse button event parameters (Event::MouseButtonPressed, Event::MouseButtonReleased) ...
Definition: Event.hpp:227
The mouse cursor left the area of the window (no data)
Definition: Event.hpp:202
int delta
Number of ticks the wheel has moved (positive is up, negative is down)
Definition: Event.hpp:111
Touch events parameters (TouchBegan, TouchMoved, TouchEnded)
Definition: Event.hpp:164
The mouse wheel was scrolled (data in event.mouseWheelScroll)
Definition: Event.hpp:197
A mouse button was pressed (data in event.mouseButton)
Definition: Event.hpp:198
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition: Event.hpp:124
The mouse wheel was scrolled (data in event.mouseWheel) (deprecated)
Definition: Event.hpp:196
Joystick axis move event parameters (JoystickMoved)
Definition: Event.hpp:142
JoystickMoveEvent joystickMove
Joystick move event parameters (Event::JoystickMoved)
Definition: Event.hpp:230
Mouse buttons events parameters (MouseButtonPressed, MouseButtonReleased)
Definition: Event.hpp:95
JoystickConnectEvent joystickConnect
Joystick (dis)connect event parameters (Event::JoystickConnected, Event::JoystickDisconnected) ...
Definition: Event.hpp:232
MouseWheelEvent mouseWheel
Mouse wheel event parameters (Event::MouseWheelMoved) (deprecated)
Definition: Event.hpp:228
The mouse cursor entered the area of the window (no data)
Definition: Event.hpp:201
MouseWheelScrollEvent mouseWheelScroll
Mouse wheel event parameters (Event::MouseWheelScrolled)
Definition: Event.hpp:229
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition: Event.hpp:112
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition: Event.hpp:99
A mouse button was released (data in event.mouseButton)
Definition: Event.hpp:199
Joystick connection events parameters (JoystickConnected, JoystickDisconnected)
Definition: Event.hpp:133
Definition: AlResource.hpp:34
unsigned int joystickId
Index of the joystick (in range [0 .. Joystick::Count - 1])
Definition: Event.hpp:156
The joystick moved along an axis (data in event.joystickMove)
Definition: Event.hpp:205
A joystick button was released (data in event.joystickButton)
Definition: Event.hpp:204
unsigned int joystickId
Index of the joystick (in range [0 .. Joystick::Count - 1])
Definition: Event.hpp:135
int x
X position of the mouse pointer, relative to the left of the owner window.
Definition: Event.hpp:86
JoystickButtonEvent joystickButton
Joystick button event parameters (Event::JoystickButtonPressed, Event::JoystickButtonReleased) ...
Definition: Event.hpp:231
int y
Y position of the mouse pointer, relative to the top of the owner window.
Definition: Event.hpp:125
Mouse wheel events parameters (MouseWheelScrolled)
Definition: Event.hpp:120
unsigned int button
Index of the button that has been pressed (in range [0 .. Joystick::ButtonCount - 1]) ...
Definition: Event.hpp:157