mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Pandora port: Exit rockbox by pressing the SELECT button
Might get remapped to another button later on, for example if we map the START button to the main menu, then those two buttons are too close together. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29453 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
389fa27e41
commit
613a26d507
1 changed files with 6 additions and 0 deletions
|
@ -322,6 +322,12 @@ static void button_event(int key, bool pressed)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#if (CONFIG_PLATFORM & PLATFORM_PANDORA)
|
||||||
|
case SDLK_LCTRL:
|
||||||
|
/* Post SYS_POWEROFF event. Will post SDL_USEREVENT in shutdown_hw() if successful. */
|
||||||
|
queue_broadcast(SYS_POWEROFF, 0);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
#ifdef HAS_BUTTON_HOLD
|
#ifdef HAS_BUTTON_HOLD
|
||||||
case SDLK_h:
|
case SDLK_h:
|
||||||
if(pressed)
|
if(pressed)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue