GestureStylus.setStylusOnly

void setStylusOnly(bool stylusOnly)

Sets the state of stylus-only

If true, the gesture will exclusively handle events from stylus input devices, otherwise it'll handle events from any pointing device.

Parameters

stylusOnlywhether the gesture is used exclusively for stylus events