API reference

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

E

enumGamepadMappingLayout

@codexo/exojs / input / stable

Which index space a GamepadMapping's button and axis indices live in. Almost every mapping is written against the W3C "standard" layout the browser normalises known devices into. A `Raw` mapping instead encodes a device's unnormalised HID report order, which is only correct while the browser leaves that device unnormalised.

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

Which index space a GamepadMapping's button and axis indices live in.

Almost every mapping is written against the W3C "standard" layout the browser normalises known devices into. A `Raw` mapping instead encodes a device's unnormalised HID report order, which is only correct while the browser leaves that device unnormalised.

Members2
Raw
Standard
Source