[effects] Add new effect for touch point visualization
ClosedPublic

Authored by graesslin on Aug 16 2016, 6:20 PM.

Details

Summary

The new effect is based on the mouse click effect and uses the same
rendering code (this could be improved by merging them better).

Unlike mouse click there is no keyboard shortcut needed to activate:
as soon as the effect is loaded all touch points are visualized.

The visualization creates an animated circle for each touch down
position, motion and up position. The ids are tracked and each touch
id gets the same color. The first ten different touch ids get a
different color. As touch ids are stable the first finger will always
have the same color.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 5984.Aug 16 2016, 6:20 PM
graesslin retitled this revision from to [effects] Add new effect for touch point visualization.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptAug 16 2016, 6:20 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
mart accepted this revision.Aug 18 2016, 8:25 AM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Aug 18 2016, 8:25 AM
This revision was automatically updated to reflect the committed changes.