Skip to main content

Interface: InputSettingsData

Defined in: src/lib/classes/InputSettings/index.ts:8

How the user's input devices control the canvas

Properties​

focusPen​

focusPen: boolean

Defined in: src/lib/classes/InputSettings/index.ts:18

Focus pen mode: fingers and palms never draw, and touches are ignored while a pen is down or just lifted


gestures​

gestures: GestureSettings

Defined in: src/lib/classes/InputSettings/index.ts:16

Which touch gesture undoes, redoes, copies and pastes (touch devices only)


modifierScrollZoom​

modifierScrollZoom: boolean

Defined in: src/lib/classes/InputSettings/index.ts:14

Cmd/Ctrl + scroll zooms the canvas (desktop only)


pinchZoom​

pinchZoom: boolean

Defined in: src/lib/classes/InputSettings/index.ts:12

Pinch zooms the canvas


scrollPan​

scrollPan: boolean

Defined in: src/lib/classes/InputSettings/index.ts:10

Two-finger scroll (or mouse wheel) pans the canvas