GLBasic forum

Main forum => GLBasic - en => Topic started by: Quasist on 2008-Mar-06

Title: naughty ESC key problem (GP2X)
Post by: Quasist on 2008-Mar-06
Hail, GlBasic forum!

Already quick-searched through forum and GlBasic's help file and found no answer...

I'm stalked in problem of ESC key
By default pressing it quits the application
ESC on gp2x is mapped to the volume middle button (VOL- and VOL+ pressed at the same time)

Is there some way to disable that feature(ESC = quit program) that I do not want to see in the middle of the volume control?
Title: naughty ESC key problem (GP2X)
Post by: PeeJay on 2008-Mar-06
Use
Code (glbasic) Select
ALLOWESCAPE FALSEat the top of your code - but do make sure you have a way to quit out of the program, of course!
Title: naughty ESC key problem (GP2X)
Post by: Kitty Hello on 2008-Mar-06
Right. Qutting on GP2X is essential! If you don't end properly, some files might have not been written to your sd card, propably. Thus, your highscores e.g. are not saves, though you already CLOSEFILEd them.
Title: naughty ESC key problem (GP2X)
Post by: Quasist on 2008-Mar-06
Thanks for help! :)
I promise great game ;)