GestureSingle.setButton

Sets the button number @gesture listens to.

If non-0, every button press from a different button number will be ignored. Touch events implicitly match with button 1.

class GestureSingle
void
setButton
(
uint button
)

Parameters

button uint

button number to listen to, or 0 for any button

Meta