HPL3/Community/Scripting/Classes/igamepad

From Frictional Wiki
Jump to navigation Jump to search

iGamepad

Fields

iGamepad has no public fields.

Functions

Return Type Function Name Parameters Description
tString GetGamepadName
int GetNumButtons
int GetNumAxes
int GetNumHats
int GetNumBalls
cGamepadInputData GetInputUpdate
bool HasInputUpdates
bool ButtonIsDown eGamepadButton aButton
cGamepadInputData GetButton
bool ButtonIsPressed
cGamepadInputData GetReleasedButton
bool ButtonIsReleased
float GetAxisValue eGamepadAxis aAxis
float GetAxisDeadZoneRadiusValue
void SetAxisDeadZoneRadiusValue float afValue
cGamepadInputData GetUpdatedAxis
bool AxesUpdated
eGamepadHatState GetHatCurrentState eGamepadHat aHat
bool HatIsInState eGamepadHat aHat,
eGamepadHatState aState
cGamepadInputData GetHatState
bool HatsChanged
cVector2l GetBallAbsPos eGamepadBall aBall
void SetRumble float afValue,
int alMillisec
void SetColorLED const cColor &in aColor
cColor GetColorLED

Remarks

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!