How can I detect if the mouse cursor is moving in a circle around a target, and calculate how many turns it's done?
For example, if I rotate the mouse 4 times around a specific XY point on the screen, I would like to re-center my camera (in my context, I need this algorithm for a camera system)