mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
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:
parent
50f7e4e083
commit
5aa017b040
1 changed files with 6 additions and 0 deletions
|
|
@ -115,6 +115,12 @@ void button_event(int key, bool pressed)
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case SDLK_ESCAPE:
|
||||||
|
#if defined BUTTON_POWER
|
||||||
|
new_btn = BUTTON_POWER;
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
|
||||||
case SDLK_KP_ENTER:
|
case SDLK_KP_ENTER:
|
||||||
case SDLK_RETURN:
|
case SDLK_RETURN:
|
||||||
case SDLK_a:
|
case SDLK_a:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue