GestureStylus.setStylusOnly

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.

class GestureStylus
void
setStylusOnly
()

Parameters

stylusOnly bool

whether the gesture is used exclusively for stylus events