Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Custom gesture

$
0
0
Hi… Is there any idea how to make a custom gesture for many grab points of a mouse cursor? If a user move a cursor like a circle, so the program recognize it for a special task. Now my idea is to record every mouse pixel using mousePressEvent(), and from a number of pixels I will calculate the center of the circle gesture to find its center. Is there any opinion to help, I appreciate your suggestion. Thank you

Viewing all articles
Browse latest Browse all 18427

Trending Articles