FreeStick  0.3
Cross Platform Open Sorce Joystick Lib
Public Member Functions | List of all members
freestick::FSXInputJoystickDeviceManager Class Reference

#include <FSXInputJoystickDeviceManager.h>

Inheritance diagram for freestick::FSXInputJoystickDeviceManager:
Inheritance graph
[legend]

Public Member Functions

 FSXInputJoystickDeviceManager ()
 
virtual void update ()
 
- Public Member Functions inherited from freestick::FSUpdatableJoystickDeviceManager
 FSUpdatableJoystickDeviceManager ()
 
virtual void updateEvents (idNumber joystickDeviceID, FSUSBJoyStickInputElement *elementDevice, physicalValueNumber elementValue)
 
- Public Member Functions inherited from freestick::FSUSBJoystickDeviceManager
 FSUSBJoystickDeviceManager ()
 
virtual ~FSUSBJoystickDeviceManager ()
 
virtual void init ()
 
const FSUSBJoystickgetUSBJoystickDevice (idNumber deviceID)
 
- Public Member Functions inherited from freestick::FSUSBDeviceManager
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 ()
 
- Public Member Functions inherited from freestick::FSBaseManager
 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 FSBaseDevicegetDevice (idNumber deviceID)
 

Additional Inherited Members

- Static Public Member Functions inherited from freestick::FSUSBJoystickDeviceManager
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 Public Member Functions inherited from freestick::FSUSBDeviceManager
static deviceID createVPId (uint32_t vendor, uint32_t product)
 
- Protected Member Functions inherited from freestick::FSBaseManager
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)
 
- Protected Attributes inherited from freestick::FSUSBDeviceManager
std::unordered_map< deviceID, std::unordered_map< idNumber, FSDeviceInput > > _usageMapToInputEvent
 
std::unordered_map< deviceID, std::unordered_map< idNumber, std::vector< FSUSBElementInfoMap > > > _usageMapToInputRangeEvent
 
- Protected Attributes inherited from freestick::FSBaseManager
std::unordered_map< unsigned int, FSBaseDevice * > deviceMap
 

Constructor & Destructor Documentation

◆ FSXInputJoystickDeviceManager()

FSXInputJoystickDeviceManager::FSXInputJoystickDeviceManager ( )

Member Function Documentation

◆ update()

void FSXInputJoystickDeviceManager::update ( )
virtual

The documentation for this class was generated from the following files: