naughty ESC key problem (GP2X)

Previous topic - Next topic

Quasist

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?

PeeJay

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!
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity

Kitty Hello

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.

Quasist

Thanks for help! :)
I promise great game ;)