Indentifier GP2X (F200 or F100)

Previous topic - Next topic

Neurox

Hi,
I've a question:
I wrote one game for only GP2X F200 with touchscreen.
I use a PLATFORMINFO$ function for indentify the version of firmware.
Other way to see difference between F100 and F200 version ?

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

Kitty Hello

Not yet. I'll take a look.

Kitty Hello

Try this and tell me:
Code (glbasic) Select
IF DOESFILEEXIST("/dev/touchscreen/wm97xx")
   PRINT "F200", 0,0
ELSE
   PRINT "F100", 0,0
ENDIF
SHOWSCREEN
KEYWAIT

Neurox

Hi,
QuoteTry this and tell me:
Yes, function very well.

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

mookmac

Can this function be put into any gp2x game? Is the file it looks for automatically on every f200?

Kitty Hello

Yes. The driver writes this file and puts the touchscreen position in there.