Pico version reg, irq3 handling changed
authornotaz <notasas@gmail.com>
Wed, 7 May 2008 21:37:51 +0000 (21:37 +0000)
committernotaz <notasas@gmail.com>
Wed, 7 May 2008 21:37:51 +0000 (21:37 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@443 be3aeb3a-fb24-0410-a615-afba39da0efa

linux/gp2x.c

index 4a7c556..c552ad1 100644 (file)
@@ -71,6 +71,11 @@ static gint key_press_event (GtkWidget *widget, GdkEventKey *event)
                case 0x19: current_keys |= GP2X_VOL_UP;break; // w
                case 0x2d: log_io_clear(); break; // k
                case 0x2e: log_io_dump();  break; // l
+               case 0x17: { // tab
+                       extern int PicoReset(void);
+                       PicoReset();
+                       break;
+               }
        }
 
        return 0;