API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classGameCubeGamepadMapping
Mapping for Nintendo GameCube controllers (typically connected via a USB adapter such as the official Nintendo adapter for Wii U / Switch). Inherits the full GenericDualAnalogGamepadMapping button and axis layout. Note that the GameCube controller has no right-stick click, no D-pad as discrete buttons on all adapters, and uses analog shoulders — the exact channel availability depends on the adapter's HID report.
import { GameCubeGamepadMapping } from '@codexo/exojs' Mapping for Nintendo GameCube controllers (typically connected via a USB adapter such as the official Nintendo adapter for Wii U / Switch).
Inherits the full GenericDualAnalogGamepadMapping button and axis layout. Note that the GameCube controller has no right-stick click, no D-pad as discrete buttons on all adapters, and uses analog shoulders — the exact channel availability depends on the adapter's HID report.
new(): GameCubeGamepadMapping destroy(): void hasChannel(channel: GamepadButtonChannel | GamepadAxisChannel): boolean axes: readonly GamepadAxis[] buttons: readonly GamepadButton[] family: GameCube