]> git.tdb.fi Git - libs/gui.git/commit
Refactor GestureDetector logic
authorMikko Rasa <tdb@tdb.fi>
Mon, 19 Sep 2016 20:30:14 +0000 (23:30 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 19 Sep 2016 20:30:14 +0000 (23:30 +0300)
commit598786409491a119ba761eca53c5eb2d94a4d9e8
tree94ef3176ad4efd567ea76f03c10dbb94f0034345
parentab03781d9d893bb50a1947cbef6ef2c35ae10d16
Refactor GestureDetector logic

Active_points only ever had the one or two bottom bits set and always
matched current gesture.  It's simpler to just use the number of points
for the gesture.
source/input/gesturedetector.cpp
source/input/gesturedetector.h