API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classPlayStationGamepadMapping
Mapping for Sony PlayStation controllers, covering DualShock 4 and DualSense (PS4 / PS5) when connected via USB or Bluetooth. Inherits the full GenericDualAnalogGamepadMapping layout. PlayStation-specific controls (touchpad click, Share/Create, Capture) are surfaced through the Touchpad, Share, and Capture channels respectively.
import { PlayStationGamepadMapping } from '@codexo/exojs' Mapping for Sony PlayStation controllers, covering DualShock 4 and DualSense (PS4 / PS5) when connected via USB or Bluetooth.
Inherits the full GenericDualAnalogGamepadMapping layout. PlayStation-specific controls (touchpad click, Share/Create, Capture) are surfaced through the Touchpad, Share, and Capture channels respectively.
new(): PlayStationGamepadMapping destroy(): void hasChannel(channel: GamepadButtonChannel | GamepadAxisChannel): boolean axes: readonly GamepadAxis[] buttons: readonly GamepadButton[] family: PlayStation