JoystickMenuClient Class Reference

#include <jsmenu.h>

List of all members.


Detailed Description

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

Constructor & Destructor Documentation

JoystickMenuClient::JoystickMenuClient ( QObject *  main_window  ) 

Definition at line 54 of file jsmenu.cpp.

JoystickMenuClient::~JoystickMenuClient (  ) 

Definition at line 67 of file jsmenu.cpp.


Member Function Documentation

int JoystickMenuClient::Init ( QString &  config_file  ) 

Definition at line 91 of file jsmenu.cpp.

Referenced by SpawnJoystickMenu().

void JoystickMenuClient::Process ( void   ) 

Definition at line 207 of file jsmenu.cpp.

Referenced by SpawnJoystickMenu().

void JoystickMenuClient::ButtonUp ( int  button  ) 

Definition at line 332 of file jsmenu.cpp.

Referenced by Process().

void JoystickMenuClient::AxisChange ( int  axis,
int  value 
)

Definition at line 359 of file jsmenu.cpp.

Referenced by Process().

void JoystickMenuClient::EmitKey ( QString  code  ) 

Definition at line 300 of file jsmenu.cpp.

Referenced by AxisChange(), and ButtonUp().

int JoystickMenuClient::ReadConfig ( QString  config_file  ) 

Definition at line 158 of file jsmenu.cpp.

Referenced by Init().


Member Data Documentation

QObject* JoystickMenuClient::mainWindow [private]

Definition at line 83 of file jsmenu.h.

Referenced by EmitKey(), and JoystickMenuClient().

QString JoystickMenuClient::devicename [private]

Definition at line 85 of file jsmenu.h.

Referenced by Init(), and ReadConfig().

int JoystickMenuClient::fd [private]

Definition at line 87 of file jsmenu.h.

Referenced by Init(), JoystickMenuClient(), Process(), and ~JoystickMenuClient().

Definition at line 89 of file jsmenu.h.

Referenced by AxisChange(), ButtonUp(), and ReadConfig().

unsigned char JoystickMenuClient::button_count [private]

Definition at line 95 of file jsmenu.h.

Referenced by Init(), and Process().

unsigned char JoystickMenuClient::axes_count [private]

Definition at line 96 of file jsmenu.h.

Referenced by Init(), and Process().

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().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:04 2010 for MythTV by  doxygen 1.5.5