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 Fri Jul 22 2022 for GLFW 3.3.8