Difference between revisions of "HPL3/SOMA/Scripting/iGamepad"

From Frictional Wiki
< HPL3‎ | SOMA‎ | Scripting
Jump to navigation Jump to search
(Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== iGamepad has no public fields. ==Functio...")
 
 
Line 62: Line 62:
 
| <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || SetRumble || <syntaxhighlight lang="c++" inline>float afValue</syntaxhighlight>,<br /><syntaxhighlight lang="c++" inline>int alMillisec</syntaxhighlight> ||
 
| <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || SetRumble || <syntaxhighlight lang="c++" inline>float afValue</syntaxhighlight>,<br /><syntaxhighlight lang="c++" inline>int alMillisec</syntaxhighlight> ||
 
|}
 
|}
 +
 +
{{ReferencesSection}}
  
 
{{HPL3SOMAScriptingCategories}}
 
{{HPL3SOMAScriptingCategories}}
 
__FORCETOC__
 
__FORCETOC__

Latest revision as of 16:01, 6 August 2020

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

Fields

iGamepad has no public fields.

Functions

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

References


See all references...