Page 1 of 1
Middle mouse button click?
Posted: Sat Jul 12, 2008 3:08 pm
by Sgraffite
I was wondering how I would go about sending a middle mouse button click event? The reason I want to do this is it is an easy way to do a 180 degree turn, and thus may aid in getting unstuck.
Re: Middle mouse button click?
Posted: Sat Jul 12, 2008 6:06 pm
by Administrator
I've added three functions for dealing with the mouse/wheel clicks. Those are mouseMClick(), mouseMHold(), and mouseMRelease(). These act exactly like their left/right counterparts. If you have a wheel mouse, you can also take advantage of the mouseWheelMove(int) function, which accepts a single integer. A positive value will scroll "up", and a negative will scroll "down". Just for reference, a value of 100 will scroll up rougly 1 'tick', so you probably won't notice anything if you use a small value such as 10.
You will need to redownload MicroMacro from the
download page to take advantage of these functions.
Re: Middle mouse button click?
Posted: Sat Jul 12, 2008 6:18 pm
by Sgraffite
Thanks! That was super fast response
