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:
Linus Nielsen Feltzing 2004-06-30 13:31:14 +00:00
parent 058302a480
commit a8dab4c08a
7 changed files with 89 additions and 76 deletions

View file

@ -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;