OIS::LinuxJoyStick Class Reference

#include <src/ois/linux/LinuxJoyStickEvents.h>

Inheritance diagram for OIS::LinuxJoyStick:

OIS::JoyStick OIS::Object

List of all members.

Public Member Functions

JoyStickInfo _getJoyInfo ()
virtual void _initialize ()
virtual void capture ()
 LinuxJoyStick (InputManager *creator, bool buffered, const JoyStickInfo &js)
virtual InterfacequeryInterface (Interface::IType type)
virtual void setBuffered (bool buffered)
virtual ~LinuxJoyStick ()

Static Public Member Functions

static void _clearJoys (JoyStickInfoList &joys)
static JoyStickInfoList _scanJoys ()

Protected Attributes

LinuxForceFeedbackff_effect
std::map< int, int > mAxisMap
std::map< int, int > mButtonMap
int mJoyStick
std::map< int, RangemRanges


Detailed Description

Linux specialization of JoyStick class.. This version is favored over the other.. and has the possibility* of Force Feedback.. notice I say possibility, i make no gaurantees under linux, as FF support is sketchy at best AFAIK.

Constructor & Destructor Documentation

LinuxJoyStick::LinuxJoyStick ( InputManager creator,
bool  buffered,
const JoyStickInfo js 
)

LinuxJoyStick::~LinuxJoyStick (  )  [virtual]


Member Function Documentation

void LinuxJoyStick::_clearJoys ( JoyStickInfoList joys  )  [static]

JoyStickInfo LinuxJoyStick::_getJoyInfo (  ) 

void LinuxJoyStick::_initialize (  )  [virtual]

JoyStickInfoList LinuxJoyStick::_scanJoys (  )  [static]

void LinuxJoyStick::capture (  )  [virtual]

Interface * LinuxJoyStick::queryInterface ( Interface::IType  type  )  [virtual]

Remarks:
If available, get an interface to write to some devices. Examples include, turning on and off LEDs, ForceFeedback, etc
Parameters:
type The type of interface you are looking for

Implements OIS::Object.

References ff_effect, and OIS::Interface::ForceFeedback.

void LinuxJoyStick::setBuffered ( bool  buffered  )  [virtual]

Remarks:
Sets buffered mode

Implements OIS::Object.

References _initialize(), and OIS::Object::mBuffered.


Member Data Documentation

std::map<int, int> OIS::LinuxJoyStick::mAxisMap [protected]

std::map<int, int> OIS::LinuxJoyStick::mButtonMap [protected]

Referenced by _getJoyInfo(), capture(), and LinuxJoyStick().

std::map<int, Range> OIS::LinuxJoyStick::mRanges [protected]

Referenced by _getJoyInfo(), capture(), and LinuxJoyStick().


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

Generated on Tue Jul 28 16:22:18 2009 for Orxonox by  doxygen 1.5.6