API reference

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

C

classJoyConRightGamepadMapping

@codexo/exojs / input / stable

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.

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

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