Gamepad input state. More…
Data Fields |
|
| unsigned char | buttons [15] |
| float | axes [6] |
Detailed Description
Field Documentation
◆ buttons
| unsigned char GLFWgamepadstate::buttons[15] |
The states of each gamepad button, GLFW_PRESS or GLFW_RELEASE.
◆ axes
| float GLFWgamepadstate::axes[6] |
The states of each gamepad axis, in the range -1.0 to 1.0 inclusive.
The documentation for this struct was generated from the following file:
Document source
Canonical languageThis document is "GLFW 3.5.1 Documentation" by GLFW maintainers (original copyright: Marcus Geelnard and Camilla Löwy), formatted for libx.