Input · type

InputSourceName

The devices this source watches, and the granularity a consumer may switch off.

Explained in Moving things.

type InputSourceName = 'keyboard' | 'mouse' | 'touch' | 'gamepad'
import type { InputSourceName } from '@driftengine/core';