GLFWgamepadstate

Gamepad input state

This describes the input state of a gamepad.

@sa @ref gamepad @sa @ref glfwGetGamepadState

extern (C) @nogc nothrow __gshared
struct GLFWgamepadstate {}

Members

Variables

axes
float[6] axes;

The states of each gamepad axis, in the range -1.0 to 1.0 inclusive.

buttons
ubyte[15] buttons;

The states of each gamepad button, GLFW_PRESS or GLFW_RELEASE.

Meta

Since

Added in version 3.3.

Ingroup: input