API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeGamepadPromptControl

@codexo/exojs / input / stable

Named controls that can appear in an in-game prompt or button-hint UI. Intentionally a subset of GamepadButton channels - covers the controls a typical prompt overlay needs to label, including the composite `'DPad'` token which has no single channel equivalent. The names retain a `'Button'` prefix on the face cluster for compatibility with prompt artwork file names.

0
props
0
methods
0
events
Import
import { GamepadPromptControl } from '@codexo/exojs'

Named controls that can appear in an in-game prompt or button-hint UI.

Intentionally a subset of GamepadButton channels - covers the controls a typical prompt overlay needs to label, including the composite `'DPad'` token which has no single channel equivalent. The names retain a `'Button'` prefix on the face cluster for compatibility with prompt artwork file names.

Definition1
"ButtonEast" | "ButtonNorth" | "ButtonSouth" | "ButtonWest" | "DPad" | "DPadDown" | "DPadLeft" | "DPadRight" | "DPadUp" | "LeftShoulder" | "LeftStick" | "LeftTrigger" | "Paddle1" | "Paddle2" | "Paddle3" | "Paddle4" | "RightShoulder" | "RightStick" | "RightTrigger" | "Select" | "Start"
Source