Hi.
Both can work, so it depends on what you want.
I am on a weekend trip at the moment, i can make a sample on monday.
Basically you do :
On mouse down do a mouse follow or rotate towards,
Then on release get the rotation
Then use a float compare and use some tolerance.
And repeat for each number.