Quitting example programs
Quitting example programs
Hi. I'm on Linux and finally figured out the recompile problem for older nvidia cards and got irrlicht examples working. At least, most things seem to work, but I can't close the applications if there's a mouse move. I pressed escape and every key I could think of. The arrow keys work so I know I'm getting keyboard and mouse input. Sorry if I missed reading something, but how do you close the applications?
you can use ALT+F4, or add in the program (in the class IEventReceiver, in the switch for the keyBoard input) this code:
Code: Select all
case KEY_ESCAPE:
device->closeDevice();
break;
excuse me for my bad english and for my ignorance...but I'm 14 and i come from Italy, where the study of english is a optional (-: