Skip to content

Documentation / @debuffjp/input / Binding

Type Alias: Binding ​

Binding = string

Defined in: input.ts:11

A binding is a source name:

  • a KeyboardEvent.code: "Space", "KeyZ", "ArrowLeft"
  • "Pointer": primary mouse button / touch / pen
  • a gamepad button or stick direction: "PadA", "PadLeft", "PadStickLeft"