17 #ifndef JOYSTICKAXISSCHEME_H
18 #define JOYSTICKAXISSCHEME_H
20 #include "ControllerEvent.h"
21 #include "InputScheme.h"
22 #include "JoystickAxisCodes.h"
59 #endif // JOYSTICKAXISSCHEME_H
const JoystickAxisStates & getJoystickAxisStates() const
Returns joystick axis value changes for all joystick axes contained in this event.
Definition: ControllerEvent.h:118
virtual bool handlesControllerEvent(const ControllerEvent *event) const override
Returns whether or not this JoystickAxisScheme would handle event.
Definition: JoystickAxisScheme.h:46
A platform independent event generated by controller device.
Definition: ControllerEvent.h:34
Represents a scheme mapping input joystick axes to output actions.
Definition: JoystickAxisScheme.h:28
bool hasJoystickAxisInfo() const
Returns whether or not this ControllerEvent contains any axis information for the specified joystick ...
Definition: ControllerEvent.h:102
JoystickAxisScheme()
Constructs an empty JoystickAxisScheme.
Definition: JoystickAxisScheme.h:33
JoystickAxisScheme(const typename InputScheme< JoystickAxisCode >::Map &scheme)
Constructs a JoystickAxisScheme from the specified scheme.
Definition: JoystickAxisScheme.h:39