maltanar / watchntouch

Automatically exported from code.google.com/p/watchntouch
2 stars 2 forks source link

Refactoring of the input system to support multitouch gestures #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The current input system resides mostly inside a single UI class 
(calibrationwindow.cpp) and the event generation is also carried out without 
regard to the finer details such as the presence of multiple IR points. To 
enable multitouch gestures, this module needs to be refactored in accordance 
with the class hierarchy proposed in the SDD.

This will primarily be accomplished by separating the event generation system 
and placing it inside its own class.

Original issue reported on code.google.com by malta...@gmail.com on 20 Mar 2011 at 3:36

GoogleCodeExporter commented 9 years ago
r63 is a major step towards this:

 - EventGenerator is now a separate class handling event generation logic
 - EventGenerator generates mouse events if visiblePoints=1, passes them to gesture recognizer if >1 with appropriate transition logic, still needs work though...
 - QjtMouseGestureFilter has new methods for EventGenerator to directly interface for gestures
 - (not totally relevant: inclusions of appglobals.h in inappropriate places were causing compile errors, fixed)

Original comment by malta...@gmail.com on 20 Mar 2011 at 4:08

GoogleCodeExporter commented 9 years ago
Changing status to started, I'm working on this.

Original comment by malta...@gmail.com on 23 Mar 2011 at 3:49