Gin
Loading...
Searching...
No Matches
Public Attributes | List of all members
GameControllerManager::PollState Struct Reference

Snapshot of a single controller's state, written by a Backend. More...

#include <gin_gamecontrollermanager.h>

Public Attributes

bool connected = false
 
juce::String name
 
std::array< bool,(size_t) GameController::Button::numButtonsbuttons {}
 
std::array< float,(size_t) GameController::Axis::numAxesaxes {}
 

Detailed Description

Snapshot of a single controller's state, written by a Backend.

Member Data Documentation

◆ connected

bool GameControllerManager::PollState::connected = false

◆ name

juce::String GameControllerManager::PollState::name

◆ buttons

std::array<bool, (size_t) GameController::Button::numButtons> GameControllerManager::PollState::buttons {}

◆ axes

std::array<float, (size_t) GameController::Axis::numAxes> GameControllerManager::PollState::axes {}

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