PenEvent

data class PenEvent(val phase: PenPhase, val point: InkPoint, val outsideLimitRegion: Boolean = false, val forced: Boolean = false)(source)

Immutable, lossless raw event; instances may be retained after collection.

Constructors

Link copied to clipboard
constructor(phase: PenPhase, point: InkPoint, outsideLimitRegion: Boolean = false, forced: Boolean = false)

Properties

Link copied to clipboard

Coordinate system used by point.

Link copied to clipboard

Whether firmware marked the event as forced.

Link copied to clipboard

Whether the event fell outside configured limit regions.

Link copied to clipboard

Lifecycle phase represented by this event.

Link copied to clipboard

Raw input sample associated with the event.