#include <FSUSBDeviceManager.h>
|
void | addMapping (vendorIDType vendorUSBID, productIDType productUSBID, idNumber controlUSBID, FSDeviceInput deviceInput) |
|
void | addMapping (idNumber deviceID, idNumber controlID, FSDeviceInput deviceInput) |
|
FSUSBElementInfoMap | lookUpDeviceInputFromID (idNumber deviceID, idNumber controlID, minMaxNumber min, minMaxNumber max, physicalValueNumber value) |
|
FSUSBElementInfoMap | lookUpDeviceInputFromUSBID (vendorIDType vendorUSBID, productIDType productUSBID, idNumber controlID, minMaxNumber min, minMaxNumber max, physicalValueNumber value) |
|
FSUSBElementInfoMap | infoMapForInputType (vendorIDType vendorUSBID, productIDType productUSBID, FSDeviceInput inputToLookFor) |
|
bool | doesDeviceHaveDeviceInput (idNumber deviceID, FSDeviceInput inputToLookFor) |
|
bool | doesElementHaveDeviceInputForValue (vendorIDType vendorUSBID, productIDType productUSBID, elementID elementID, FSDeviceInput inputToLookFor) |
|
bool | doesDeviceHaveDeviceInput (vendorIDType vendorUSBID, productIDType productUSBID, FSDeviceInput inputToLookFor) |
|
bool | doesDeviceHaveDeviceInputForValue (vendorIDType vendorUSBID, productIDType productUSBID, FSDeviceInput inputToLookFor, physicalValueNumber value) |
|
bool | doesDeviceHaveDeviceInputForValue (idNumber deviceID, FSDeviceInput inputToLookFor, physicalValueNumber value) |
|
| FSUSBDeviceManager () |
|
virtual void | init () |
|
virtual | ~FSUSBDeviceManager () |
|
| FSBaseManager () |
|
virtual | ~FSBaseManager () |
|
virtual void | ListenForAllJoysticksForEventTypes (unsigned int eventFlags, IFSJoystickListener &listener) |
| This is the base manager. More...
|
|
virtual void | UnListenForAllJoysticksForEventTypes (unsigned int eventFlags, IFSJoystickListener &listener) |
|
float | convertRawToNormalizedRanger (double value, minMaxNumber maxValue, minMaxNumber minValue) |
|
virtual void | init (IFSDeviceIDCreator *idCreator) |
|
virtual const FSBaseDevice * | getDevice (idNumber deviceID) |
|
|
void | ListenForAllJoysticksForEventType (FreeStickEventType eventType, IFSJoystickListener &listener) |
|
void | UnListenForAllJoysticksForEventType (FreeStickEventType eventType, IFSJoystickListener &listener) |
|
void | ListenForJoystickEvent (FreeStickEventType eventType, IFSJoystickListener &listener) |
|
void | RemoveListenerForEventType (FreeStickEventType eventType, IFSJoystickListener &listener) |
|
virtual void | addDevice (FSBaseDevice *device) |
|
virtual void | removeDevice (FSBaseDevice *device) |
|
virtual void | inputOnDeviceChanged (FreeStickEventType eventType, FSEventAction eventAction, FSDeviceInput inputType, idNumber deviceID, idNumber deviceControlID, int newValue, int oldValue, minMaxNumber min, minMaxNumber max) |
|
virtual void | inputOnDeviceChangedWithNormilzedValues (FreeStickEventType eventType, FSEventAction eventAction, FSDeviceInput inputType, idNumber deviceID, idNumber deviceControlID, float newValue, float oldValue) |
|
virtual elementID | getNextID () |
|
void | updateEvent (FSBaseEvent &event) |
|
◆ FSUSBDeviceManager()
FSUSBDeviceManager::FSUSBDeviceManager |
( |
| ) |
|
- Todo:
- populate map _usageMapToInputEvent
◆ ~FSUSBDeviceManager()
FSUSBDeviceManager::~FSUSBDeviceManager |
( |
| ) |
|
|
virtual |
◆ addMapping() [1/2]
◆ addMapping() [2/2]
◆ createVPId()
static deviceID freestick::FSUSBDeviceManager::createVPId |
( |
uint32_t |
vendor, |
|
|
uint32_t |
product |
|
) |
| |
|
inlinestatic |
◆ doesDeviceHaveDeviceInput() [1/2]
bool freestick::FSUSBDeviceManager::doesDeviceHaveDeviceInput |
( |
idNumber |
deviceID, |
|
|
FSDeviceInput |
inputToLookFor |
|
) |
| |
◆ doesDeviceHaveDeviceInput() [2/2]
◆ doesDeviceHaveDeviceInputForValue() [1/2]
◆ doesDeviceHaveDeviceInputForValue() [2/2]
◆ doesElementHaveDeviceInputForValue()
◆ infoMapForInputType()
◆ init()
void FSUSBDeviceManager::init |
( |
| ) |
|
|
virtual |
◆ lookUpDeviceInputFromID()
◆ lookUpDeviceInputFromUSBID()
◆ _usageMapToInputEvent
- Todo:
- combind vendor and product ID in to on 64bit key to cut down the size of this type
◆ _usageMapToInputRangeEvent
The documentation for this class was generated from the following files: