Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Attributes | List of all members
JoystickManager::JoystickInfo Struct Reference

Public Attributes

SDL_Joystickjoystick = nullptr
 
SDL_JoystickID id = 0
 
std::string name
 
int numAxes = 0
 
int numButtons = 0
 
std::vector< Sint16axes
 
std::vector< boolbuttons
 

Detailed Description

Definition at line 57 of file JoystickManager.h.

Member Data Documentation

◆ axes

std::vector<Sint16> JoystickManager::JoystickInfo::axes

Definition at line 64 of file JoystickManager.h.

◆ buttons

std::vector<bool> JoystickManager::JoystickInfo::buttons

Definition at line 65 of file JoystickManager.h.

◆ id

SDL_JoystickID JoystickManager::JoystickInfo::id = 0

Definition at line 60 of file JoystickManager.h.

◆ joystick

SDL_Joystick* JoystickManager::JoystickInfo::joystick = nullptr

Definition at line 59 of file JoystickManager.h.

Referenced by JoystickManager::OpenJoystick().

◆ name

std::string JoystickManager::JoystickInfo::name

Definition at line 61 of file JoystickManager.h.

◆ numAxes

int JoystickManager::JoystickInfo::numAxes = 0

Definition at line 62 of file JoystickManager.h.

◆ numButtons

int JoystickManager::JoystickInfo::numButtons = 0

Definition at line 63 of file JoystickManager.h.


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