FreeStick
0.3
Cross Platform Open Sorce Joystick Lib
|
#include <FSUSBJoystick.h>
Public Member Functions | |
~FSUSBJoystick () | |
FSUSBJoystick (idNumber joyStickID, unsigned int numberOfButtons, unsigned int numberOfAnlogSticks, unsigned int numberOfDigitalSticks, bool forceFeedBackSupported, vendorIDType vendorID, productIDType productID) | |
unsigned int | getNumberOfButtons () const |
unsigned int | getNumberOfAnlogSticks () const |
unsigned int | getNumberOfDigitalSticks () const |
bool | getForceFeedbackSupport () const |
virtual FSDeviceType | getClassType () const |
void | addInputElement (FSUSBJoyStickInputElement &element) |
JoyStickElementMap | getElements () const |
std::vector< idNumber > | getElementIds () const |
const FSUSBJoyStickInputElement * | findInputElement (idNumber id) const |
JoyStickElementMap::const_iterator | begin () const |
JoyStickElementMap::const_iterator | end () const |
JoyStickElementMap::iterator | begin () |
JoyStickElementMap::iterator | end () |
![]() | |
FSUSBDevice (idNumber id, vendorIDType vendorID, productIDType productID) | |
const std::string | getVendorFriendlyName () const |
const std::string | getProductFrendlyName () const |
vendorIDType | getProductID () const |
productIDType | getVendorID () const |
![]() | |
virtual idNumber | getJoystickID () const |
const std::string & | GetFrendlyName () const |
FSBaseDevice (idNumber id) | |
virtual | ~FSBaseDevice () |
Protected Member Functions | |
FSUSBJoystick () | |
![]() | |
FSUSBDevice () | |
![]() | |
FSBaseDevice () | |
![]() | |
IFSDevice () | |
virtual | ~IFSDevice () |
Protected Attributes | |
JoyStickElementMap | _inputElementMap |
![]() | |
vendorIDType | _vendorID |
std::string | _vendorIDFriendlyName |
productIDType | _productID |
std::string | _productIDFriendlyName |
![]() | |
std::string | _friendlyName |
Additional Inherited Members | |
![]() | |
static std::string | getFrendlyVendorNameFromID (vendorIDType vendorID) |
static std::string | getFrendlyProductNameFromID (vendorIDType vendorID, productIDType productID) |
|
protected |
FSUSBJoystick::~FSUSBJoystick | ( | ) |
FSUSBJoystick::FSUSBJoystick | ( | idNumber | joyStickID, |
unsigned int | numberOfButtons, | ||
unsigned int | numberOfAnlogSticks, | ||
unsigned int | numberOfDigitalSticks, | ||
bool | forceFeedBackSupported, | ||
vendorIDType | vendorID, | ||
productIDType | productID | ||
) |
void FSUSBJoystick::addInputElement | ( | FSUSBJoyStickInputElement & | element | ) |
JoyStickElementMap::const_iterator FSUSBJoystick::begin | ( | ) | const |
JoyStickElementMap::iterator FSUSBJoystick::begin | ( | ) |
JoyStickElementMap::const_iterator FSUSBJoystick::end | ( | ) | const |
JoyStickElementMap::iterator FSUSBJoystick::end | ( | ) |
const FSUSBJoyStickInputElement * FSUSBJoystick::findInputElement | ( | idNumber | id | ) | const |
|
inlinevirtual |
Reimplemented from freestick::FSUSBDevice.
Reimplemented in freestick::FSAndroidJoystick, freestick::FSDirectInputJoystick, and freestick::FSUSBMacOSXJoystick.
std::vector< idNumber > FSUSBJoystick::getElementIds | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |