Skip to content

textmode.js / input

input ​

All types and interfaces related to input event handling.

Namespaces ​

NamespaceDescription
gamepadTypes and interfaces for gamepad event handling
keyboardTypes and interfaces for keyboard event handling
mouseTypes and interfaces for mouse event handling
touchTypes and interfaces for touch event handling

Type Aliases ​

Type AliasDescription
InputEventMapUnion of every input event emitted by the library.
InputEventNameEvery valid event name accepted by Textmodifier.on, Textmodifier.off, and Textmodifier.once.
InputEventOwnerInput subsystem that owns a given event name.

Variables ​

VariableDescription
INPUT_EVENT_NAMESFlat readonly list of every input event name accepted by Textmodifier.on, Textmodifier.off, and Textmodifier.once.