raygui-widget
Public Attributes | List of all members
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.

Member Data Documentation

◆ axes

float GLFWgamepadstate::axes

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

◆ buttons

unsigned char GLFWgamepadstate::buttons

The states of each gamepad button, GLFW_PRESS or GLFW_RELEASE.


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