GLBasic forum

Main forum => GLBasic - en => Topic started by: Neurox on 2007-Nov-20

Title: Indentifier GP2X (F200 or F100)
Post by: Neurox on 2007-Nov-20
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
Title: Indentifier GP2X (F200 or F100)
Post by: Kitty Hello on 2007-Nov-20
Not yet. I'll take a look.
Title: Indentifier GP2X (F200 or F100)
Post by: Kitty Hello on 2007-Nov-21
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
Title: Indentifier GP2X (F200 or F100)
Post by: Neurox on 2007-Nov-26
Hi,
QuoteTry this and tell me:
Yes, function very well.

Thanks,
Neurox
Title: Indentifier GP2X (F200 or F100)
Post by: mookmac on 2008-Jan-19
Can this function be put into any gp2x game? Is the file it looks for automatically on every f200?
Title: Indentifier GP2X (F200 or F100)
Post by: Kitty Hello on 2008-Jan-22
Yes. The driver writes this file and puts the touchscreen position in there.