gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <GamePad.h>
Public Member Functions | |
GamePad () | |
~GamePad () | |
bool | toggle (const int _nbut) |
int | read_event () |
void | affiche () |
Public Attributes | |
bool | active |
bool | toggle_status [GP_BUTTONS] |
bool | event_read |
double | frequency |
double | axe [GP_AXES] |
bool | button [GP_BUTTONS] |
int | button_map [10] |
int | axe_map [8] |
Private Attributes | |
char | name [256] |
int | axes |
int | buttons |
GamePad::GamePad | ( | ) |
Definition at line 63 of file GamePad.cpp.
GamePad::~GamePad | ( | ) |
Definition at line 142 of file GamePad.cpp.
void GamePad::affiche | ( | ) |
Definition at line 231 of file GamePad.cpp.
int GamePad::read_event | ( | ) |
Definition at line 159 of file GamePad.cpp.
bool GamePad::toggle | ( | const int | _nbut | ) |
Definition at line 151 of file GamePad.cpp.
bool GamePad::active |
Definition at line 29 of file GamePad.h.
Referenced by GamePad(), and ~GamePad().
double GamePad::axe[GP_AXES] |
Definition at line 35 of file GamePad.h.
Referenced by affiche(), GamePad(), and read_event().
bool GamePad::button[GP_BUTTONS] |
Definition at line 36 of file GamePad.h.
Referenced by affiche(), GamePad(), and read_event().
|
private |
Definition at line 60 of file GamePad.h.
Referenced by GamePad(), and read_event().
bool GamePad::toggle_status[GP_BUTTONS] |
Definition at line 30 of file GamePad.h.
Referenced by GamePad(), read_event(), and toggle().