Simulator: map ESC key to POWER button as a way to exit plugins. Patch #5681 by Rani Hod (RaeNye).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10244 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2006-07-19 00:39:30 +00:00
parent 50f7e4e083
commit 5aa017b040

View file

@ -115,6 +115,12 @@ void button_event(int key, bool pressed)
#endif
break;
case SDLK_ESCAPE:
#if defined BUTTON_POWER
new_btn = BUTTON_POWER;
#endif
break;
case SDLK_KP_ENTER:
case SDLK_RETURN:
case SDLK_a: