Skip to content

API Variable DeviceKind

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

Variable: DeviceKind

const DeviceKind: object;

Defined in: src/engine/input/deviceEntities.ts:17

InputDevice.kind.

Type Declaration

gamepad

readonly gamepad: 2 = 2;

keyboard

readonly keyboard: 0 = 0;

pen

readonly pen: 4 = 4;

pointer

readonly pointer: 1 = 1;

touch

readonly touch: 3 = 3;

Clone this wiki locally