API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classXboxGamepadMapping
Mapping for Microsoft Xbox controllers (Xbox One, Xbox Series X/S, and compatible third-party XInput devices) connected via USB or Bluetooth. Inherits the full GenericDualAnalogGamepadMapping layout, which mirrors the W3C standard gamepad layout that XInput controllers follow natively. The Share button (Xbox Series) maps to the Share channel.
import { XboxGamepadMapping } from '@codexo/exojs' Mapping for Microsoft Xbox controllers (Xbox One, Xbox Series X/S, and compatible third-party XInput devices) connected via USB or Bluetooth.
Inherits the full GenericDualAnalogGamepadMapping layout, which mirrors the W3C standard gamepad layout that XInput controllers follow natively. The Share button (Xbox Series) maps to the Share channel.
new(): XboxGamepadMapping destroy(): void hasChannel(channel: GamepadButtonChannel | GamepadAxisChannel): boolean axes: readonly GamepadAxis[] buttons: readonly GamepadButton[] family: Xbox