API reference

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

C

classGameCubeGamepadMapping

@codexo/exojs / input / stable

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.

3
props
2
methods
0
events
Import
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.

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