OIS::JoyStickInfo Struct Reference

#include <LinuxPrereqs.h>

List of all members.

Public Member Functions

 JoyStickInfo ()

Public Attributes

int devId
 Device number (/dev/input/j#) or /dev/input/event#.
int joyFileD
 File descriptor.
int version
 Driver version.
std::string vendor
 Joy vendor.
unsigned char axes
 Number of axes.
unsigned char buttons
 Number of buttons.
unsigned char hats
 Number of hats.
std::map< int, int > button_map
 Maps Linux button values to OIS buttons values.
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.
GUID deviceID


Detailed Description

Definition at line 52 of file LinuxPrereqs.h.


Constructor & Destructor Documentation

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

Definition at line 54 of file LinuxPrereqs.h.


Member Data Documentation

int OIS::JoyStickInfo::devId

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

Definition at line 56 of file LinuxPrereqs.h.

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

int OIS::JoyStickInfo::joyFileD

File descriptor.

Definition at line 58 of file LinuxPrereqs.h.

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

int OIS::JoyStickInfo::version

Driver version.

Definition at line 60 of file LinuxPrereqs.h.

std::string OIS::JoyStickInfo::vendor

Joy vendor.

Definition at line 62 of file LinuxPrereqs.h.

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

unsigned char OIS::JoyStickInfo::axes

Number of axes.

Definition at line 64 of file LinuxPrereqs.h.

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

unsigned char OIS::JoyStickInfo::buttons

Number of buttons.

Definition at line 66 of file LinuxPrereqs.h.

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

unsigned char OIS::JoyStickInfo::hats

Number of hats.

Definition at line 68 of file LinuxPrereqs.h.

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

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

Maps Linux button values to OIS buttons values.

Definition at line 70 of file LinuxPrereqs.h.

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

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

Maps Linux axis values to OIS axis.

Definition at line 72 of file LinuxPrereqs.h.

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

std::map<int, Range> OIS::JoyStickInfo::axis_range

Maps OIS axis values to it's range.

Definition at line 74 of file LinuxPrereqs.h.

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

GUID OIS::JoyStickInfo::deviceID

Definition at line 56 of file Win32Prereqs.h.

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


The documentation for this struct was generated from the following files:
Generated on Sat Dec 1 20:13:54 2007 for OIS by  doxygen 1.5.4