API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classJoyConRightGamepadMapping
Mapping for the Nintendo Joy-Con (R) held horizontally as a solo controller. Declares only channels that physically exist on the device — one stick (mapped to the LeftStick channels to match the W3C standard layout for the lone reported stick regardless of which Joy-Con reports it), four face buttons, the SL/SR inner shoulders (routed through the standard shoulder channels), Plus, the Home button, and the stick-click. Right-stick channels, triggers, Minus/Capture, 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 { JoyConRightGamepadMapping } from '@codexo/exojs' Mapping for the Nintendo Joy-Con (R) held horizontally as a solo controller.
Declares only channels that physically exist on the device — one stick (mapped to the LeftStick channels to match the W3C standard layout for the lone reported stick regardless of which Joy-Con reports it), four face buttons, the SL/SR inner shoulders (routed through the standard shoulder channels), Plus, the Home button, and the stick-click.
Right-stick channels, triggers, Minus/Capture, 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(): JoyConRightGamepadMapping destroy(): void hasChannel(channel: GamepadButtonChannel | GamepadAxisChannel): boolean axes: readonly GamepadAxis[] buttons: readonly GamepadButton[] family: JoyConRight