OIS::JoyStickInfo Class Reference

#include <src/ois/win32/Win32Prereqs.h>

List of all members.

Public Member Functions

 JoyStickInfo ()

Public Attributes

unsigned char axes
 Number of axes.
std::map< int, int > axis_map
 Maps Linux axis values to OIS axis.
std::map< int, Rangeaxis_range
 Maps OIS axis values to it's range.
std::map< int, int > button_map
 Maps Linux button values to OIS buttons values.
unsigned char buttons
 Number of buttons.
GUID deviceID
int devId
 Device number (/dev/input/j#) or /dev/input/event#.
unsigned char hats
 Number of hats.
int joyFileD
 File descriptor.
std::string vendor
 Joy vendor.
int version
 Driver version.


Constructor & Destructor Documentation

OIS::JoyStickInfo::JoyStickInfo (  )  [inline]


Member Data Documentation

unsigned char OIS::JoyStickInfo::axes

std::map<int, int> OIS::JoyStickInfo::axis_map

std::map<int, int> OIS::JoyStickInfo::button_map

Maps Linux button values to OIS buttons values.

Referenced by OIS::LinuxJoyStick::_getJoyInfo(), OIS::EventUtils::isJoyStick(), and OIS::LinuxJoyStick::LinuxJoyStick().

Device number (/dev/input/j#) or /dev/input/event#.

Referenced by OIS::Win32InputManager::_DIEnumKbdCallback(), OIS::LinuxJoyStick::_getJoyInfo(), and OIS::Win32JoyStick::~Win32JoyStick().

unsigned char OIS::JoyStickInfo::hats

Driver version.


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

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