# Type Alias: Binding

> **Binding** = `string`

Defined in: [input.ts:13](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/input/src/input.ts#L13)

A binding is a source name:
- a `KeyboardEvent.code`: `"Space"`, `"KeyZ"`, `"ArrowLeft"`
- `"Pointer"`: primary mouse button / touch / pen
- `"PointerRight"`, `"PointerMiddle"`: the right and middle mouse buttons
- a gamepad button or stick direction: `"PadA"`, `"PadLeft"`, `"PadStickLeft"`
- an on-screen control from `TouchControls`: `"TouchStickLeft"`, `"TouchA"` (added in 0.25)
