#include <LinuxPrereqs.h>
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, Range > | axis_range |
| Maps OIS axis values to it's range. | |
| GUID | deviceID |
Definition at line 52 of file LinuxPrereqs.h.
| OIS::JoyStickInfo::JoyStickInfo | ( | ) | [inline] |
Definition at line 54 of file LinuxPrereqs.h.
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().
File descriptor.
Definition at line 58 of file LinuxPrereqs.h.
Referenced by OIS::LinuxJoyStick::_getJoyInfo(), OIS::EventUtils::isJoyStick(), and OIS::LinuxJoyStick::LinuxJoyStick().
| 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().
Definition at line 56 of file Win32Prereqs.h.
Referenced by OIS::Win32InputManager::_DIEnumKbdCallback(), OIS::Win32JoyStick::_getJoyInfo(), and OIS::Win32JoyStick::Win32JoyStick().
1.5.4