Skip to main content

Documentation Index

Fetch the complete documentation index at: https://rive-binding-data.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

One field change on an already-connected gamepad (gamepadEvent); includes the full post-update state and optional standard-layout intent. (Coming soon)

Fields

changeKind

W3C change kind: "button" or "axis".

changeIndex

1-based W3C button or axis index for this change.

changeValue

hasStandardButtonIntent

hasStandardAxisIntent

intentButton

intentAxis

deviceId

Read-only full device state after the change (same fields as [GamepadConnected]).

buttonMask

buttons

axes

isStandardMapping

mapping

gamepadMapping

west

south

north

east

leftShoulder

rightShoulder

back

forward

leftStickButton

rightStickButton

dpadUp

dpadDown

dpadLeft

dpadRight

start

leftStick

rightStick

leftTrigger

rightTrigger

leftTriggerPressed

rightTriggerPressed

Methods

buttonPressed

buttonPressed(index: number) -> boolean

buttonValue

buttonValue(index: number) -> number

axis

axis(index: number) -> number