how do i fake a working cursor?
- I'm trying to develop a dartgame:
But of course there's no fun in just clicking somewhere to represent
hitting the board with a dart in that place.
Therefore i try to model a shaky hand with a fake cursor.
This fake cursor should be a time-varying random (but limited)
translation away from the real (but hidden) cursor.
But now the problem: when i click, the event that is fired has the
location of the hidden real cursor. And cause evt.clientX and
evt.clientY are read-only i can't set them to the values of the fake
How do i do this?
//I've seen some very dry spec stuff about creating a new event but
couldn't get it to work.