Public Attributes | List of all members
GLFWgamepadstate Struct Reference

Gamepad input state. More...

#include <glfw3.h>

Public Attributes

float axes [6]
 
unsigned char buttons [15]
 

Detailed Description

Gamepad input state.

This describes the input state of a gamepad.

See also
Gamepad input
glfwGetGamepadState
Since
Added in version 3.3.

Definition at line 1612 of file glfw3.h.

Member Data Documentation

float GLFWgamepadstate::axes[6]

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

Definition at line 1621 of file glfw3.h.

unsigned char GLFWgamepadstate::buttons[15]

The states of each gamepad button, GLFW_PRESS or GLFW_RELEASE.

Definition at line 1617 of file glfw3.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32