What is the best way to disengage the mouse via software?
I need to know how to do this so I can code tutorials which move the mouse around and do stuff to teach the user how to do things.
I know how to move the pointer around by feeding fake input events thru the OS. But if the user bumps the mouse during this time they knock my plans off wack.
How do I temporarily disengage the physical mouse
(The thing you roll around on the table)
from the mousepointer on the screen?
What is the easiest way to disengage the mouse via software?
I know how to make the mousepointer go blank, but the pointer is still "there" and still moves with the mouse, you just can't see it.
I know how to use Intuition WINDOW_INACTIVE to detect when my window is no longer active (so I can re-engage the mouse once you teach me how to disengage it
I speak C+asm. I can read many other languages such as E, BB2, Arexx, etc. so feel free to explain this in the language you like best.
Bonus Spells will be awarded if you post some example code that actually disengages the mouse.
My compiler is SASC. My Assembler is DevPac.
Thank you very much for any help you provide.
P.S. The first person who replies "Just put up a requester that says
'Please unplug your mouse now'"
will receive, absolutely free of charge, a RKRM upside the head.