GLBasic forum

Main forum => Bug Reports => Topic started by: spacefractal on 2013-Jul-09

Title: mutltly calls to SYSTEMPOINTER can halt the mouse
Post by: spacefractal on 2013-Jul-09
if im do something like this in a frameloop:

Code (glbasic) Select

IF (CONTROLLER$="trackpad" OR Resolution_Test=0) AND PLATFORMINFO$("")<>"MACOSX" //(CONTROLLER$="slide" AND AND CONTROLLER$<>"trackpad")
SYSTEMPOINTER FALSE
ELSE
SYSTEMPOINTER TRUE
ENDIF


Then the mouse might not register very well anymore in 11.414. Howver this is a extremly easy fix to do that, by doing a function instead and make sure its only called once.
Title: Re: mutltly calls to SYSTEMPOINTER can halt the mouse
Post by: MrTAToad on 2013-Jul-13
Its probably resetting mouse positions or something...