TouchType

class pyto_ui.TouchType(*values)

Type of touch.

DIRECT = 0

A touch resulting from direct contact with the screen.

INDIRECT = 1

A touch that did not result from contact with the screen.

INDIRECT_POINTER = 2

A click from a pointer.

PENCIL = 2

A touch from Apple Pencil.