Table Of Contents
Triple Tap¶
New in version 1.7.0.
Search touch for a triple tap
- class kivy.input.postproc.tripletap.InputPostprocTripleTap¶
Bases: object
InputPostProcTripleTap is a post-processor to check if a touch is a triple tap or not. Triple tap can be configured in the Kivy config file:
[postproc] triple_tap_time = 250 triple_tap_distance = 20
Distance parameter is in 0-1000, and time is in millisecond.
- find_triple_tap(ref)¶
Find a triple tap touch within self.touches. The touch must be not a previous triple tap, and the distance must be ok, also, the touch profile must be compared so the kind of touch is the same