some io stats added

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@232 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-09-01 12:24:04 +00:00
parent c7a4ff6428
commit 15b55b4ed5
5 changed files with 92 additions and 4 deletions

View file

@ -18,6 +18,8 @@
#include "../gp2x/usbjoy.h"
#include "../gp2x/version.h"
#include "log_io.h"
void *gp2x_screen;
static int current_bpp = 8;
static int current_pal[256];
@ -65,6 +67,8 @@ static gint key_press_event (GtkWidget *widget, GdkEventKey *event)
case 0x29: current_keys |= GP2X_PUSH; break; // f
case 0x18: current_keys |= GP2X_VOL_DOWN;break; // q
case 0x19: current_keys |= GP2X_VOL_UP;break; // w
case 0x2d: log_io_clear(); break; // k
case 0x2e: log_io_dump(); break; // l
}
return 0;