Gamepad input state. More...
Data Fields | |
unsigned char | buttons [15] |
float | axes [6] |
This describes the input state of a gamepad.
unsigned char GLFWgamepadstate::buttons[15] |
The states of each gamepad button, GLFW_PRESS
or GLFW_RELEASE
.
float GLFWgamepadstate::axes[6] |
The states of each gamepad axis, in the range -1.0 to 1.0 inclusive.
Last update on Mon Jan 20 2020 for GLFW 3.3.2