API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classJoyConLeftGamepadMapping
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.
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.
new(): JoyConLeftGamepadMapping destroy(): void hasChannel(channel: GamepadButtonChannel | GamepadAxisChannel): boolean axes: readonly GamepadAxis[] buttons: readonly GamepadButton[] family: JoyConLeft