Skip to content

textmode.js / input / gamepad / TextmodeStandardGamepadSnapshot

Interface: TextmodeStandardGamepadSnapshot

Semantic helpers derived from the browser's standard gamepad mapping.

Properties

PropertyTypeDescription
centerobjectCenter and stick-press buttons.
center.home?TextmodeGamepadButtonSnapshot-
center.leftStickPressTextmodeGamepadButtonSnapshot-
center.rightStickPressTextmodeGamepadButtonSnapshot-
center.selectTextmodeGamepadButtonSnapshot-
center.startTextmodeGamepadButtonSnapshot-
dpadobjectDirectional pad buttons.
dpad.downTextmodeGamepadButtonSnapshot-
dpad.leftTextmodeGamepadButtonSnapshot-
dpad.rightTextmodeGamepadButtonSnapshot-
dpad.upTextmodeGamepadButtonSnapshot-
faceButtonsobjectFace button cluster.
faceButtons.eastTextmodeGamepadButtonSnapshot-
faceButtons.northTextmodeGamepadButtonSnapshot-
faceButtons.southTextmodeGamepadButtonSnapshot-
faceButtons.westTextmodeGamepadButtonSnapshot-
leftStickTextmodeGamepadStickSnapshotLeft analog stick helper.
rightStickTextmodeGamepadStickSnapshotRight analog stick helper.
shouldersobjectShoulder and trigger buttons.
shoulders.l1TextmodeGamepadButtonSnapshot-
shoulders.l2TextmodeGamepadButtonSnapshot-
shoulders.r1TextmodeGamepadButtonSnapshot-
shoulders.r2TextmodeGamepadButtonSnapshot-