API reference

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

C

classArcadeStickGamepadMapping

@codexo/exojs / input / stable

Mapping for generic arcade-stick controllers. Covers the standard 8-button + shoulder/trigger layout common to most fightsticks. No analog sticks are present; the axes array is empty. D-pad inputs are exposed as discrete buttons (indices 12–15).

3
props
2
methods
0
events
Import
import { ArcadeStickGamepadMapping } from '@codexo/exojs'

Mapping for generic arcade-stick controllers.

Covers the standard 8-button + shoulder/trigger layout common to most fightsticks. No analog sticks are present; the axes array is empty. D-pad inputs are exposed as discrete buttons (indices 12–15).

Constructors 1
new(): ArcadeStickGamepadMapping
Methods 2
destroy(): void
hasChannel(channel: GamepadButtonChannel | GamepadAxisChannel): boolean
Properties 3
axes: readonly GamepadAxis[]
buttons: readonly GamepadButton[]
family: ArcadeStick
Source