Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
GLFWgamepadstate Struct Reference

Gamepad input state. More...

#include <glfw3.h>

Public Attributes

unsigned char buttons [15]
 
float axes [6]
 

Detailed Description

Gamepad input state.

This describes the input state of a gamepad.

See also
gamepad
glfwGetGamepadState
Since
Added in version 3.3.

Definition at line 1878 of file glfw3.h.

Member Data Documentation

◆ axes

float GLFWgamepadstate::axes[6]

The states of each gamepad axis, in the range -1.0 to 1.0 inclusive.

Definition at line 1887 of file glfw3.h.

◆ buttons

unsigned char GLFWgamepadstate::buttons[15]

The states of each gamepad button, GLFW_PRESS or GLFW_RELEASE.

Definition at line 1883 of file glfw3.h.


The documentation for this struct was generated from the following file: