Skip to content

API Type DeviceFamily

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Type Alias: DeviceFamily

type DeviceFamily = 
  | "keyboard"
  | "pointer"
  | "xbox"
  | "playstation"
  | "switch"
  | "generic"
  | "touch"
  | "pen";

Defined in: src/engine/input/controls.ts:35

A device family: what kind of device, for prompts (ADR 0337) and per-family bindings.

Clone this wiki locally