API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classPlayStationGamepadMapping
@codexo/exojs / input / stable
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.
3
props
2
methods
0
events
Import
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.
Constructors 1
new(): PlayStationGamepadMapping Methods 2
destroy(): void hasChannel(channel: GamepadButtonChannel | GamepadAxisChannel): boolean Properties 3
axes: readonly GamepadAxis[] buttons: readonly GamepadButton[] family: PlayStation Source