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

#include <FSDeviceInputEvent.h>

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

Public Member Functions

 FSDeviceInputEvent (FreeStickEventType eventType, FSEventAction eventAction, unsigned int timeStamp, idNumber deviceID, unsigned int controlID, float oldValue, float newValue, FSDeviceInput inputType)
 
float getOldInputValue () const
 
float getNewInputValue () const
 
int getControlID () const
 
FSDeviceInput getInputType () const
 
- Public Member Functions inherited from freestick::FSBaseEvent
 FSBaseEvent (FreeStickEventType eventType, FSEventAction eventAction, unsigned int timeStamp, idNumber deviceID)
 
virtual unsigned int getTimeStamp ()
 
virtual FSEventAction getEventAction ()
 
virtual FreeStickEventType getEventType ()
 
unsigned int getDeviceID () const
 

Protected Member Functions

 FSDeviceInputEvent ()
 
- Protected Member Functions inherited from freestick::FSBaseEvent
 FSBaseEvent ()
 

Additional Inherited Members

- Static Public Member Functions inherited from freestick::IFSEvent
static FreeStickEventType getEventFromInputType (FSDeviceInput inputType)
 

Constructor & Destructor Documentation

◆ FSDeviceInputEvent() [1/2]

FSDeviceInputEvent::FSDeviceInputEvent ( )
protected

◆ FSDeviceInputEvent() [2/2]

FSDeviceInputEvent::FSDeviceInputEvent ( FreeStickEventType  eventType,
FSEventAction  eventAction,
unsigned int  timeStamp,
idNumber  deviceID,
unsigned int  controlID,
float  oldValue,
float  newValue,
FSDeviceInput  inputType 
)

Member Function Documentation

◆ getControlID()

int freestick::FSDeviceInputEvent::getControlID ( ) const
inline

◆ getInputType()

FSDeviceInput freestick::FSDeviceInputEvent::getInputType ( ) const
inline

◆ getNewInputValue()

float freestick::FSDeviceInputEvent::getNewInputValue ( ) const
inline

◆ getOldInputValue()

float freestick::FSDeviceInputEvent::getOldInputValue ( ) const
inline

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