GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2011-May-30

Title: SETACTIVEMOUSE on the Pre
Post by: MrTAToad on 2011-May-30
When used this appears to reset the MOUSESTATE bnuttons of the selected active mouse.  So, if the screen is pressed and held down, the mouse buttons only register 1 once (at first pressed), and then 0 until the mouse is moved...
Title: Re: SETACTIVEMOUSE on the Pre
Post by: Millerszone on 2011-May-30
Quote from: MrTAToad on 2011-May-30
When used this appears to reset the MOUSESTATE bnuttons of the selected active mouse.  So, if the screen is pressed and held down, the mouse buttons only register 1 once (at first pressed), and then 0 until the mouse is moved...
That's the problem I had with HTD Baseball for the Pre:
http://www.glbasic.com/forum/index.php?topic=6091.msg48060#msg48060 (http://www.glbasic.com/forum/index.php?topic=6091.msg48060#msg48060)
Title: Re: SETACTIVEMOUSE on the Pre
Post by: MrTAToad on 2011-May-30
I think I've solved it now - GETMOUSECOUNT was returning a value of 10, which appears to be higher than the device is capable of.  Someone on the webOS forums limited theirs to 4, so I did too - and it works.  5 does too - but I haven't tried any higher (although it does appear that 5 is the limit).