There's no reason you couldn't code your own "getmouse" routine

by (no login)

SUB getmouse (x%,y%[,[b%][,[wheel%]]])
b%=0
wheel%=0
DO
if _MOUSEBUTTON(1) THEN b% = b% OR 1
if _MOUSEBUTTON(2) THEN b% = b% OR 2
if _MOUSEBUTTON(3) THEN b% = b% OR 4
wheel%=wheel%+_MOUSEWHEEL
LOOP UNTIL _MOUSEINPUT=0
x%=_MOUSEX
y%=_MOUSEY
END SUB

Notes:
1. I'll be implementing custom SUB formats soon enough, but they aren't available yet!
2. _MOUSEWHEEL is not implemented yet and may differ from the usage shown.

Posted on Jun 3, 2008, 7:33 AM
from IP address 122.104.44.123

Respond to this message   

Return to Index


Response TitleAuthor and Date
isn't mousewheel just a button that you can click over and over?mennonite on Jun 3
 oh except that it is also a button, not just a wheelmennonite on Jun 3
  RE: Isn't the mouse wheel just a button? on Jun 4
   * Wouldn't ABSOLUTE and INTERRUPT code ignore that? on Jun 4
   *More mouse buttons than the normal 3? Oh! Those fancy ones with Back/Forward buttons? :-Prpgfan3233 on Jun 4