User Tools

Site Tools


Sidebar

hpl3:community:scripting:classes:igamepad

Table of Contents

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!

hpl3/community/scripting/classes/igamepad.txt · Last modified: 2015/11/05 11:46 by abion47