API reference

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

T

typeGamepadDefinitionResult

@codexo/exojs / input / stable

Value a GamepadDefinition.resolve callback may return. Return a bare GamepadMapping to accept the device with the definition's default name, an object with an optional `name` override, or `null`/`undefined` to decline the device and let the next definition in the list try.

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

Value a GamepadDefinition.resolve callback may return.

Return a bare GamepadMapping to accept the device with the definition's default name, an object with an optional `name` override, or `null`/`undefined` to decline the device and let the next definition in the list try.

Definition1
Source