![]() |
nCine
2025.04.r498-9d36345
A cross-platform 2D game engine
|
Information about the mapped joystick state. More...
#include <InputEvents.h>
Public Member Functions | |
virtual bool | isButtonDown (ButtonName name) const =0 |
Returns true if the specified button is down this frame. | |
virtual bool | isButtonPressed (ButtonName name) const =0 |
Returns true if the specified button went from not down to down this frame. | |
virtual bool | isButtonReleased (ButtonName name) const =0 |
virtual float | axisValue (AxisName name) const =0 |
Returns the value of the specified axis. | |
Static Public Attributes | |
static const unsigned int | NumButtons = 20 |
The number of joystick buttons with a mapping name. | |
static const unsigned int | NumAxes = 6 |
The number of joystick axes with a mapping name. | |
Information about the mapped joystick state.