mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-12 14:42:31 -05:00
New screen dump feature for recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4817 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
058302a480
commit
a8dab4c08a
7 changed files with 89 additions and 76 deletions
|
|
@ -23,6 +23,7 @@
|
|||
#include "button.h"
|
||||
#include "kernel.h"
|
||||
#include "backlight.h"
|
||||
#include "misc.h"
|
||||
|
||||
/* how long until repeat kicks in */
|
||||
#define REPEAT_START 6
|
||||
|
|
@ -89,6 +90,15 @@ void button_event(int key, bool pressed)
|
|||
case VK_SPACE:
|
||||
new_btn = BUTTON_PLAY;
|
||||
break;
|
||||
|
||||
case VK_NUMPAD0:
|
||||
case VK_F5:
|
||||
if(pressed)
|
||||
{
|
||||
screen_dump();
|
||||
return;
|
||||
}
|
||||
break;
|
||||
#else
|
||||
case VK_RETURN:
|
||||
new_btn = BUTTON_MENU;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue