# InputActionDoc

> Talos 0.6 · Since 0.6

One action's bindings, as `meta.input.contexts.<context>.<action>` spells them.

## Signature

```ts
export interface InputActionDoc {
  kind: InputKind
  keys?: string[]
  mouse?: "delta" | "wheel" | "left" | "right" | "middle"
  gamepad?: string
  /** A touch-screen source: a screen region and what a finger in it does. Absent: no touch source. */
  touch?: TouchBindingDoc
  deadzone?: number
  sensitivity?: number
  toggle?: boolean
}
```

Import: `import type { InputActionDoc } from "@argus/gameplay"`

## Members

| Member | Signature | Description |
|---|---|---|
| `kind` | `kind: InputKind` |  |
| `keys` | `keys?: string[]` |  |
| `mouse` | `mouse?: "delta" \| "wheel" \| "left" \| "right" \| "middle"` |  |
| `gamepad` | `gamepad?: string` |  |
| `touch` | `touch?: TouchBindingDoc` | A touch-screen source: a screen region and what a finger in it does. Absent: no touch source. |
| `deadzone` | `deadzone?: number` |  |
| `sensitivity` | `sensitivity?: number` |  |
| `toggle` | `toggle?: boolean` |  |
