DDraceNetwork Docs
IInput::IJoystick Class Referenceabstract

#include <input.h>

Public Member Functions

virtual int GetIndex () const =0
 
virtual const char * GetName () const =0
 
virtual int GetNumAxes () const =0
 
virtual int GetNumButtons () const =0
 
virtual int GetNumBalls () const =0
 
virtual int GetNumHats () const =0
 
virtual float GetAxisValue (int Axis)=0
 
virtual void GetHatValue (int Hat, int(&HatKeys)[2])=0
 
virtual bool Relative (float *pX, float *pY)=0
 
virtual bool Absolute (float *pX, float *pY)=0
 

Member Function Documentation

◆ Absolute()

virtual bool IInput::IJoystick::Absolute ( float *  pX,
float *  pY 
)
pure virtual

◆ GetAxisValue()

virtual float IInput::IJoystick::GetAxisValue ( int  Axis)
pure virtual

◆ GetHatValue()

virtual void IInput::IJoystick::GetHatValue ( int  Hat,
int(&)  HatKeys[2] 
)
pure virtual

◆ GetIndex()

virtual int IInput::IJoystick::GetIndex ( ) const
pure virtual

◆ GetName()

virtual const char * IInput::IJoystick::GetName ( ) const
pure virtual

◆ GetNumAxes()

virtual int IInput::IJoystick::GetNumAxes ( ) const
pure virtual

◆ GetNumBalls()

virtual int IInput::IJoystick::GetNumBalls ( ) const
pure virtual

◆ GetNumButtons()

virtual int IInput::IJoystick::GetNumButtons ( ) const
pure virtual

◆ GetNumHats()

virtual int IInput::IJoystick::GetNumHats ( ) const
pure virtual

◆ Relative()

virtual bool IInput::IJoystick::Relative ( float *  pX,
float *  pY 
)
pure virtual

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