|
| | FSUpdatableJoystickDeviceManager () |
| |
| virtual void | updateEvents (idNumber joystickDeviceID, FSUSBJoyStickInputElement *elementDevice, physicalValueNumber elementValue) |
| |
| virtual void | update () |
| |
| | FSUSBJoystickDeviceManager () |
| |
| virtual | ~FSUSBJoystickDeviceManager () |
| |
| virtual void | init () |
| |
| const FSUSBJoystick * | getUSBJoystickDevice (idNumber deviceID) |
| |
| 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 | ~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) |
| |
|
| static uint32_t | createIdForElement (uint32_t usage, uint32_t usagePage) |
| |
| static void | getUsageFromIdForElement (idNumber id, uint16_t &usage, uint16_t &usagePage) |
| |
| static uint16_t | getUsageForElement (idNumber id) |
| |
| static uint16_t | getUsagePageForElement (idNumber id) |
| |
| static deviceID | createVPId (uint32_t vendor, uint32_t product) |
| |
| 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) |
| |
| std::unordered_map< deviceID, std::unordered_map< idNumber, FSDeviceInput > > | _usageMapToInputEvent |
| |
| std::unordered_map< deviceID, std::unordered_map< idNumber, std::vector< FSUSBElementInfoMap > > > | _usageMapToInputRangeEvent |
| |
| std::unordered_map< unsigned int, FSBaseDevice * > | deviceMap |
| |