Hi, I'm a bit new here, but try my program. I wrote it in 1997 for myself.
It is a bootable disk with turbobasic, and when you've loaded turbobasic you can type:
RUN "D:PBRUSH.BAT"
It loads a custom mouse routine. It's a pity though that I've lost the sourcecode of the mouse routine, but it's a fully functioning program.
The machine language routine does several things. It reads the mouse input at some moments, triggered by a displaylist interrupt. Then it computes the movement of the arrow. After that it draws the arrow in a sprite.
In the turbobasic program only the position of the arrow can be accessed. It is read in lines 900-930. The mouse button is simply the same as a joystick trigger.