User Tools

Site Tools


hpl3:community:scripting:classes:igamepad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hpl3:community:scripting:classes:igamepad [2015/11/05 11:46] (current)
abion47 created
Line 1: Line 1:
 +=====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