nCine::JoyMappedState class

Information about a mapped joystick state.

Public static variables

static std::uint32_t NumButtons constexpr
The number of joystick buttons with a mapping name.
static std::uint32_t NumAxes constexpr
The number of joystick axes with a mapping name.

Constructors, destructors, conversion operators

JoyMappedState()

Public functions

auto isButtonPressed(ButtonName name) const -> bool
auto axisValue(AxisName name) const -> float