InputStateSnapshot
Defined in: Inspector.ts:232
Properties
Section titled “Properties”actions
Section titled “actions”actions:
string[]
Defined in: Inspector.ts:234
gamepad
Section titled “gamepad”gamepad:
object
Defined in: Inspector.ts:250
axes:
object[]
Axis state keyed by ${padIndex}:${axisName} (axisName is a
GamepadAxisKey from @yagejs/input).
buttons
Section titled “buttons”buttons:
string[]
Currently-held gamepad codes (e.g. "GamepadA", "GamepadLT").
keys:
string[]
Defined in: Inspector.ts:233
mouse:
object
Defined in: Inspector.ts:242
Aggregate / primary-pointer view, retained for back-compat. x / y track
the primary pointer’s screen position; buttons / down reflect the
any-pointer aggregate that drives the MouseLeft/Middle/Right action codes.
For multi-touch state, read InputStateSnapshot.pointers.
buttons
Section titled “buttons”buttons:
number[]
down:
boolean
x:
number
y:
number
pointers
Section titled “pointers”pointers:
PointerSnapshot[]
Defined in: Inspector.ts:249
All currently-tracked pointers (one per active mouse, pen, or finger).