#include <jsmenu.h>
Definition at line 67 of file jsmenu.h.
Public Member Functions | |
| JoystickMenuClient (QObject *main_window) | |
| ~JoystickMenuClient () | |
| int | Init (QString &config_file) |
| void | Process (void) |
| void | ButtonUp (int button) |
| void | AxisChange (int axis, int value) |
| void | EmitKey (QString code) |
| int | ReadConfig (QString config_file) |
Private Attributes | |
| QObject * | mainWindow |
| QString | devicename |
| int | fd |
| JoystickMap | map |
| unsigned char | button_count |
| unsigned char | axes_count |
| int * | buttons |
| int * | axes |
| JoystickMenuClient::JoystickMenuClient | ( | QObject * | main_window | ) |
Definition at line 54 of file jsmenu.cpp.
| JoystickMenuClient::~JoystickMenuClient | ( | ) |
Definition at line 67 of file jsmenu.cpp.
| int JoystickMenuClient::Init | ( | QString & | config_file | ) |
| void JoystickMenuClient::Process | ( | void | ) |
| void JoystickMenuClient::ButtonUp | ( | int | button | ) |
| void JoystickMenuClient::AxisChange | ( | int | axis, | |
| int | value | |||
| ) |
| void JoystickMenuClient::EmitKey | ( | QString | code | ) |
| int JoystickMenuClient::ReadConfig | ( | QString | config_file | ) |
QObject* JoystickMenuClient::mainWindow [private] |
QString JoystickMenuClient::devicename [private] |
int JoystickMenuClient::fd [private] |
Definition at line 87 of file jsmenu.h.
Referenced by Init(), JoystickMenuClient(), Process(), and ~JoystickMenuClient().
JoystickMap JoystickMenuClient::map [private] |
unsigned char JoystickMenuClient::button_count [private] |
unsigned char JoystickMenuClient::axes_count [private] |
int* JoystickMenuClient::buttons [private] |
Definition at line 98 of file jsmenu.h.
Referenced by ButtonUp(), Init(), JoystickMenuClient(), Process(), and ~JoystickMenuClient().
int* JoystickMenuClient::axes [private] |
Definition at line 99 of file jsmenu.h.
Referenced by AxisChange(), Init(), JoystickMenuClient(), Process(), and ~JoystickMenuClient().
1.5.5