MOUSESTATE and GP2X

Previous topic - Next topic

Neurox

Hi,
With the latest version of GLbasic,
I noticed that the function mousestate returns
the right value under windows but completely
wrong under GP2X.
With a simple test, the values is inverted
Please check the thing.

Thanks,
Neurox

P.S.
A little code for test :)
Code (glbasic) Select
WHILE TRUE // Endless loop
  MOUSESTATE mx, my, b1, b2
  PRINT "X:"+mx+" Y:"+my, mx, my
  SHOWSCREEN
WEND
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it

Kitty Hello

did you calibrate you touchscreen?

Neurox

Yes obviously!

But I found the problem :-)
When I've tested my program I had installed a firmware 4.1.0 version 080413.
This morning I've reinstalled firmware 4.0 and my programm running very well.

Neurox
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it

Kitty Hello