Mrcubix / Touch-Gestures

Bind Gestures to actions provided by OTD using this plugin !
MIT License
1 stars 1 forks source link

Refactor Handler to take into account the area for conflicting gestures #16

Open Mrcubix opened 1 week ago

Mrcubix commented 1 week ago

Current handling make a Tap or Hold Gesture end if a gesture of the same type with a higher required touch count is started.

For example, starting a 3-touch hold with cause the 2-touch hold to end.

In the situation where the set Area for both don't overlap, they shouldn't be considered conflicting. This check will need to be performed on Tap & Hold, against all gestures.