Gamepad input state. More...
#include <glfw3.h>
Public Attributes | |
float | axes [6] |
unsigned char | buttons [15] |
Gamepad input state.
This describes the input state of a gamepad.
float GLFWgamepadstate::axes[6] |
The states of each gamepad axis, in the range -1.0 to 1.0 inclusive.
unsigned char GLFWgamepadstate::buttons[15] |
The states of each gamepad button, GLFW_PRESS
or GLFW_RELEASE
.