Maybe it's me ... but I would have just replaced the mouse.
In reply to Re: [OT] Mouse Lock/Unlock using Perl by derby in thread [OT] Mouse Lock/Unlock using Perl by sanPerl