direcs  2012-09-30
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
JoystickDialog Class Reference

Dialog for showing the joystick axes and buttons. More...

#include <joystickDialog.h>

List of all members.

Public Slots

void showJoystickAxes (int axisNumber, int axisValue)
void showJoystickButtons (int buttonNumber, bool buttonState)
void showJoystickPOVButtons (int buttonsState)

Public Member Functions

 JoystickDialog (QWidget *parent=0)

Private Attributes

Ui::joystickDialog ui

Static Private Attributes

static const int JOYSTICKAXISX3 = 3
static const int JOYSTICKAXISX4 = 4
static const int JOYSTICKAXISY2 = 2
static const int JOYSTICKAXISY5 = 5

Detailed Description

Dialog for showing the joystick axes and buttons.

Author:
Markus Knapp Dialog for showing information about the joystick movement and the pressed buttons.

Definition at line 36 of file joystickDialog.h.


Constructor & Destructor Documentation

JoystickDialog::JoystickDialog ( QWidget *  parent = 0)

Definition at line 23 of file joystickDialog.cpp.


Member Function Documentation

void JoystickDialog::showJoystickAxes ( int  axisNumber,
int  axisValue 
)
slot

Shows the joystick values when it moves.

Todo:
put axis numbers to ini-file

Definition at line 155 of file joystickDialog.cpp.

void JoystickDialog::showJoystickButtons ( int  buttonNumber,
bool  buttonState 
)
slot

Shows the "standard" joystick button states when pressed.

See also:
Direcs::executeJoystickCommand
Todo:
put button numbers to ini-file

Definition at line 29 of file joystickDialog.cpp.

void JoystickDialog::showJoystickPOVButtons ( int  buttonsState)
slot

Shows the POV / Hat Switch joystick buttons states when pressed.

Definition at line 93 of file joystickDialog.cpp.


Member Data Documentation

const int JoystickDialog::JOYSTICKAXISX3 = 3
staticprivate

Definition at line 75 of file joystickDialog.h.

const int JoystickDialog::JOYSTICKAXISX4 = 4
staticprivate

Definition at line 76 of file joystickDialog.h.

const int JoystickDialog::JOYSTICKAXISY2 = 2
staticprivate
Todo:
put axis numbers to ini-file Joystick axis numbers
See also:
Joystick()

Definition at line 74 of file joystickDialog.h.

const int JoystickDialog::JOYSTICKAXISY5 = 5
staticprivate

Definition at line 77 of file joystickDialog.h.

Ui::joystickDialog JoystickDialog::ui
private

Event handler for the "About Qt" button.

Definition at line 69 of file joystickDialog.h.


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