FreeStick  0.3
Cross Platform Open Sorce Joystick Lib
Classes | Typedefs | Enumerations | Variables
freestick Namespace Reference

Classes

struct  DirectInput_Enum_Contex
 
class  FSAndroidJoystick
 
class  FSBaseDevice
 
class  FSBaseEvent
 
class  FSBaseJoystickInfo
 
class  FSBaseManager
 This is the base manager. More...
 
class  FSDeviceInputEvent
 
class  FSDirectInputJoystick
 
class  FSDirectInputJoystickManager
 
class  FSHIDAndroidJoysickDeviceManager
 
class  FSMacOSXJoystickDeviceManager
 
class  FSMFIJoystick
 
class  FSMFIJoystickDeviceManager
 
class  FSMultJoystickDeviceManger
 
class  FSSpinLock
 
class  FSUpdatableJoystickDeviceManager
 
class  FSUSBDevice
 
class  FSUSBDeviceManager
 
class  FSUSBElementInfoMap
 
class  FSUSBJoystick
 
class  FSUSBJoystickButton
 
class  FSUSBJoystickDeviceManager
 
class  FSUSBJoyStickInputElement
 
class  FSUSBMacOSXJoystick
 
class  FSUSBMacOSXJoystickDeviceManager
 
class  FSUSBNullDevice
 
class  FSUSBNullJoystickDeviceManager
 
class  FSWindowsJoystickDeviceManager
 
class  FSXInputJoystick
 
class  FSXInputJoystickDeviceManager
 
class  IFSDevice
 
class  IFSDeviceIDCreator
 
class  IFSEvent
 
class  IFSJoystickInfo
 
class  IFSJoystickListener
 

Typedefs

typedef uint32_t idNumber
 
typedef int32_t minMaxNumber
 
typedef int32_t physicalValueNumber
 
typedef unsigned int elementID
 
typedef uint64_t deviceID
 
typedef uint32_t vendorIDType
 
typedef uint32_t productIDType
 
typedef float nMinMaxNumber
 
typedef float nPhysicalValueNumber
 
typedef double universlalMinMaxNumber
 
typedef double universlalPhysicalValueNumber
 
typedef std::map< idNumber, FSUSBJoyStickInputElementJoyStickElementMap
 
typedef int mfiID
 

Enumerations

enum  FSDeviceInput {
  XAxis, YAxis, XAxis2, YAxis2,
  XAxis3, YAxis3, LastAxis, DPadUp,
  DPadDown, DPadLeft, DPadRight, LastDPad,
  Button0, ButtonA = Button0, Button1, ButtonB = Button1,
  Button2, ButtonX = Button2, Button3, ButtonY = Button3,
  Button4, LeftShoulder = Button4, Button5, RightShoulder = Button5,
  Button6, LeftShoulder2 = Button6, Button7, RightShoulder2 = Button7,
  Button8, ButtonSelect = Button8, Button9, ButtonStart = Button9,
  Button10, Axis1Button = Button10, Button11, Axis2Button = Button11,
  Button12, Button13, Button14, Button15,
  Button16, ButtonCenter, Button18, Button19,
  Button20, Button21, Button22, Button23,
  Button24, ButtonHome, LastButton, Trigger1,
  Trigger2, LastTrigger, Unknown, LastValueUp,
  AllInputs, LastInput
}
 
enum  FSDeviceType {
  FSBaseDeviceType, FSUSBDeviceType, FSUSBJoystickType, FSUSBMACOSXJoystickType,
  FSAndroidJoystickType, FSDirectInputJoystickType, FSUSBNULLDeviceType
}
 
enum  FreeStickEventType {
  FS_JOYSTICK_CONNECTED_EVENT = 1<<1, FS_JOYSTICK_DISCONNECT_EVENT = 1<<2, FS_BUTTON_EVENT = 1<<3, FS_AXIS_EVENT = 1<<4,
  FS_TRIGGER_EVENT = 1<<5, FS_LAST_EVENT = 1<<6
}
 
enum  FSEventAction { FSInputRest = 0, FSInputPressed = 1, FSInputChanged = 2, FSLastEventAction = 3 }
 

Variables

const uint32_t GravisVendorID = 1064
 
const uint32_t GamePadProID = 16385
 
const uint32_t DragonRiseID = 121
 
const uint32_t Gtron = DragonRiseID
 
const uint32_t SteelSeries3GCControllerID = 6
 
const uint32_t AmazonVendorID = 6473
 
const uint32_t AmazonFireGameControllerID = 1026
 
const uint32_t GameElementsVendorID = 3888
 
const uint32_t GameElementsRecoilID = 263
 
const uint32_t SteelSeriesVendorID = 4152
 
const uint32_t SteelSeriesFreeControllerID = 5138
 
const uint32_t SonyVendorID = 1356
 
const uint32_t Playstation3ControllerID = 616
 
const uint32_t Playstation4ControllerIDV1 = 1476
 
const uint32_t Playstation4ControllerIDV2 = 2508
 
const uint32_t LogitechVendorID = 1133
 
const uint32_t LogitechDualActionID = 49686
 
const uint32_t LogitechGamepadF710 = 49689
 
const uint32_t LogitechGamepadF310 = 49693
 
const uint32_t OUYAVendorID = 10294
 
const uint32_t OUYAControllerID = 1
 
const uint32_t MicrosoftVendorID = 1118
 
const uint32_t MicrosoftXbox360WindowsControllerID = 654
 
const uint32_t MicrosoftXboxOneWindowsControllerID = 746
 
const uint32_t RockCandyVendorID = 3695
 
const uint32_t RockCandyXbox360ControlllerID = 3695
 
const uint32_t HVG2VendorID = 2064
 
const uint32_t HVG2TwinPS2 = 1
 
const uint32_t GtronRetroSNES = 17
 
const uint32_t TomeeVendorID = 7511
 
const uint32_t TomeeNesUSBID = 33
 
const uint32_t PCUSBSNESVendorID = 3727
 
const uint32_t PCUSBSNESID = 12307
 
const uint32_t TomeeVendorID2 = 4797
 
const uint32_t TomeeNesUSBControllerID = 53269
 
const uint32_t ZDVVendorID = 9571
 
const uint32_t VWiredGamePadID = 1397
 
const uint32_t NIMBUS = 5152
 
const uint32_t MIFIVenderID = 273
 

Typedef Documentation

◆ deviceID

typedef uint64_t freestick::deviceID

◆ elementID

typedef unsigned int freestick::elementID

◆ idNumber

typedef uint32_t freestick::idNumber

◆ JoyStickElementMap

◆ mfiID

typedef int freestick::mfiID

◆ minMaxNumber

typedef int32_t freestick::minMaxNumber

◆ nMinMaxNumber

typedef float freestick::nMinMaxNumber

◆ nPhysicalValueNumber

◆ physicalValueNumber

◆ productIDType

typedef uint32_t freestick::productIDType

◆ universlalMinMaxNumber

◆ universlalPhysicalValueNumber

◆ vendorIDType

typedef uint32_t freestick::vendorIDType

Enumeration Type Documentation

◆ FreeStickEventType

Enumerator
FS_JOYSTICK_CONNECTED_EVENT 
FS_JOYSTICK_DISCONNECT_EVENT 
FS_BUTTON_EVENT 
FS_AXIS_EVENT 
FS_TRIGGER_EVENT 
FS_LAST_EVENT 

◆ FSDeviceInput

Enumerator
XAxis 
YAxis 
XAxis2 
YAxis2 
XAxis3 
YAxis3 
LastAxis 
DPadUp 
DPadDown 
DPadLeft 
DPadRight 
LastDPad 
Button0 
ButtonA 
Button1 
ButtonB 
Button2 
ButtonX 
Button3 
ButtonY 
Button4 
LeftShoulder 
Button5 
RightShoulder 
Button6 
LeftShoulder2 
Button7 
RightShoulder2 
Button8 
ButtonSelect 
Button9 
ButtonStart 
Button10 
Axis1Button 
Button11 
Axis2Button 
Button12 
Button13 
Button14 
Button15 
Button16 
ButtonCenter 
Button18 
Button19 
Button20 
Button21 
Button22 
Button23 
Button24 
ButtonHome 
LastButton 
Trigger1 
Trigger2 
LastTrigger 
Unknown 
LastValueUp 
AllInputs 
LastInput 

◆ FSDeviceType

Enumerator
FSBaseDeviceType 
FSUSBDeviceType 
FSUSBJoystickType 
FSUSBMACOSXJoystickType 
FSAndroidJoystickType 
FSDirectInputJoystickType 
FSUSBNULLDeviceType 

◆ FSEventAction

Enumerator
FSInputRest 
FSInputPressed 
FSInputChanged 
FSLastEventAction 

Variable Documentation

◆ AmazonFireGameControllerID

const uint32_t freestick::AmazonFireGameControllerID = 1026

◆ AmazonVendorID

const uint32_t freestick::AmazonVendorID = 6473

◆ DragonRiseID

const uint32_t freestick::DragonRiseID = 121

◆ GameElementsRecoilID

const uint32_t freestick::GameElementsRecoilID = 263

◆ GameElementsVendorID

const uint32_t freestick::GameElementsVendorID = 3888

◆ GamePadProID

const uint32_t freestick::GamePadProID = 16385

◆ GravisVendorID

const uint32_t freestick::GravisVendorID = 1064

◆ Gtron

const uint32_t freestick::Gtron = DragonRiseID

◆ GtronRetroSNES

const uint32_t freestick::GtronRetroSNES = 17

◆ HVG2TwinPS2

const uint32_t freestick::HVG2TwinPS2 = 1

◆ HVG2VendorID

const uint32_t freestick::HVG2VendorID = 2064

◆ LogitechDualActionID

const uint32_t freestick::LogitechDualActionID = 49686

◆ LogitechGamepadF310

const uint32_t freestick::LogitechGamepadF310 = 49693

◆ LogitechGamepadF710

const uint32_t freestick::LogitechGamepadF710 = 49689

◆ LogitechVendorID

const uint32_t freestick::LogitechVendorID = 1133

◆ MicrosoftVendorID

const uint32_t freestick::MicrosoftVendorID = 1118

◆ MicrosoftXbox360WindowsControllerID

const uint32_t freestick::MicrosoftXbox360WindowsControllerID = 654

◆ MicrosoftXboxOneWindowsControllerID

const uint32_t freestick::MicrosoftXboxOneWindowsControllerID = 746

◆ MIFIVenderID

const uint32_t freestick::MIFIVenderID = 273

◆ NIMBUS

const uint32_t freestick::NIMBUS = 5152

◆ OUYAControllerID

const uint32_t freestick::OUYAControllerID = 1

◆ OUYAVendorID

const uint32_t freestick::OUYAVendorID = 10294

◆ PCUSBSNESID

const uint32_t freestick::PCUSBSNESID = 12307

◆ PCUSBSNESVendorID

const uint32_t freestick::PCUSBSNESVendorID = 3727

◆ Playstation3ControllerID

const uint32_t freestick::Playstation3ControllerID = 616

◆ Playstation4ControllerIDV1

const uint32_t freestick::Playstation4ControllerIDV1 = 1476

◆ Playstation4ControllerIDV2

const uint32_t freestick::Playstation4ControllerIDV2 = 2508

◆ RockCandyVendorID

const uint32_t freestick::RockCandyVendorID = 3695

◆ RockCandyXbox360ControlllerID

const uint32_t freestick::RockCandyXbox360ControlllerID = 3695

◆ SonyVendorID

const uint32_t freestick::SonyVendorID = 1356

◆ SteelSeries3GCControllerID

const uint32_t freestick::SteelSeries3GCControllerID = 6

◆ SteelSeriesFreeControllerID

const uint32_t freestick::SteelSeriesFreeControllerID = 5138

◆ SteelSeriesVendorID

const uint32_t freestick::SteelSeriesVendorID = 4152

◆ TomeeNesUSBControllerID

const uint32_t freestick::TomeeNesUSBControllerID = 53269

◆ TomeeNesUSBID

const uint32_t freestick::TomeeNesUSBID = 33

◆ TomeeVendorID

const uint32_t freestick::TomeeVendorID = 7511

◆ TomeeVendorID2

const uint32_t freestick::TomeeVendorID2 = 4797

◆ VWiredGamePadID

const uint32_t freestick::VWiredGamePadID = 1397

◆ ZDVVendorID

const uint32_t freestick::ZDVVendorID = 9571