@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / snapshotGamepad
Function: snapshotGamepad() ​
ts
function snapshotGamepad(pad): GamepadSnapshot;Defined in: input/gamepad.ts:167
Plain numbers from a live pad: a button's value is 1 when pressed even if its analog value lags.
Parameters ​
| Parameter | Type |
|---|---|
pad | GamepadLike |

