59 lug::Math::Vec2f coordinates[2];
Represents a keyboard event.
bool left
True if left mouse button was pressed, False otherwise.
Key
Abstraction of keyboard keys.
Button
Abstraction of Mouse buttons.
lug::Math::Vec2f axisLeft
bool middle
True if middle mouse button was pressed, False otherwise.
Type type
The type of the event.
Keyboard::Key code
The key that triggered the event.
bool ctrl
True if ctrl was pressed, False otherwise.
Mouse::Button code
The button that triggered the event.
bool ctrl
True if ctrl was pressed, False otherwise.
bool shift
True if shift was pressed, False otherwise.
bool alt
True if alt was pressed, False otherwise.
lug::Math::Vec2f axisRight
bool doubleTap
True if a double tap event occured, False otherwise.
bool x2
True if extra 2 mouse button was pressed, False otherwise.
Represents a mouse event.
TouchScreenEvent touchScreen
bool x1
True if extra 1 mouse button was pressed, False otherwise.
CharEvent character
A CharEvent.
bool right
True if right mouse button was pressed, False otherwise.
wchar_t val
Raw value of the character pressed (with accents, etc.)
bool pinch
True if a pinch event occured, False otherwise.
bool shift
True if shift was pressed, False otherwise.
bool system
True if system was pressed, False otherwise.
MouseEvent mouse
A MouseEvent.