API reference

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

C

classJoyConLeftGamepadMapping

@codexo/exojs / input / stable

Mapping for the Nintendo Joy-Con (L) held horizontally as a solo controller. Declares only channels that physically exist on the device — one stick (mapped to GamepadAxis.LeftStickX / `LeftStickY` and the direction-split equivalents), four face buttons, the SL/SR inner shoulders (routed through the standard shoulder channels), Minus, the Capture button, and the stick-click. Right-stick channels, triggers, Plus/Home, Touchpad, paddles, and auxiliary axes are intentionally absent. Use GamepadMapping.hasChannel to detect availability before binding inputs that may not exist on every device family.

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

Mapping for the Nintendo Joy-Con (L) held horizontally as a solo controller.

Declares only channels that physically exist on the device — one stick (mapped to GamepadAxis.LeftStickX / `LeftStickY` and the direction-split equivalents), four face buttons, the SL/SR inner shoulders (routed through the standard shoulder channels), Minus, the Capture button, and the stick-click.

Right-stick channels, triggers, Plus/Home, Touchpad, paddles, and auxiliary axes are intentionally absent. Use GamepadMapping.hasChannel to detect availability before binding inputs that may not exist on every device family.

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