API reference

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

I

interfaceGamepadMappingData

@codexo/exojs / input / stable

One device layout, as data. This is the whole definition of a controller as far as the engine is concerned - no subclassing is involved, and a custom device is described by writing one of these rather than by extending anything.

5
props
0
methods
0
events
Import
import { GamepadMappingData } from '@codexo/exojs'

One device layout, as data.

This is the whole definition of a controller as far as the engine is concerned - no subclassing is involved, and a custom device is described by writing one of these rather than by extending anything.

Properties5
Prompt labels that differ from this device's family default. A family spans several product generations whose buttons are not all named the same - the PlayStation Select button reads "Select" on a PS3 pad, "Share" on a DualShock 4 and "Create" on a DualSense, yet all three share one family. List only the controls that differ.
Source