Gamepad input state. More...
#include <glfw3.h>
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 Thu Oct 28 2021 for GLFW 3.3.5