Chesto 0.9
A declarative and element-based library for creating GUIs on homebrew'd consoles
Public Member Functions | Public Attributes | List of all members
GamepadInfo Struct Reference
Collaboration diagram for GamepadInfo:
Collaboration graph
[legend]

Public Member Functions

 GamepadInfo (unsigned int *buttons, std::string *names, std::string prefix, std::string controller_type)
 

Public Attributes

unsigned int * buttons
 
std::string * names
 
std::string prefix
 
std::string controller_type
 

Detailed Description

Definition at line 64 of file InputEvents.hpp.

Constructor & Destructor Documentation

◆ GamepadInfo() [1/2]

GamepadInfo::GamepadInfo ( unsigned int *  buttons,
std::string *  names,
std::string  prefix,
std::string  controller_type 
)
inline

Definition at line 71 of file InputEvents.hpp.

72 : buttons(buttons), names(names), prefix(prefix), controller_type(controller_type) {}

◆ GamepadInfo() [2/2]

GamepadInfo::GamepadInfo ( )
inline

Definition at line 73 of file InputEvents.hpp.

74 : buttons(nullptr), names(nullptr), prefix(""), controller_type("")
75 {
76 }

Member Data Documentation

◆ buttons

unsigned int* GamepadInfo::buttons

Definition at line 65 of file InputEvents.hpp.

◆ controller_type

std::string GamepadInfo::controller_type

Definition at line 68 of file InputEvents.hpp.

◆ names

std::string* GamepadInfo::names

Definition at line 66 of file InputEvents.hpp.

◆ prefix

std::string GamepadInfo::prefix

Definition at line 67 of file InputEvents.hpp.


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