Skip to content

API Interface UnbindOptions

github-actions[bot] edited this page Nov 24, 2026 · 5 revisions

Interface: UnbindOptions

Defined in: src/engine/input/rebind.ts:170

Options for PlayerInput.unbind.

Properties

context?

readonly context?: string;

Defined in: src/engine/input/rebind.ts:174

Only this context's mapping (default: the first, by priority, that has the action for those devices).


device

readonly device: DeviceGroup;

Defined in: src/engine/input/rebind.ts:172

Which devices' mapping to remove: keyboard (with the pointer), gamepad, touch or pen.

Clone this wiki locally