X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2Fgp2x.c;h=ef21a675533f7700dc2e8a41eead1d3c20bf4e7d;hb=bc616dd83888e4296046dd17264a37b77a95587b;hp=4a7c5564353b79f42690935da004fbc581cf15b0;hpb=f53f286a8b48d19c65e83f90d00aa47e8e87c889;p=picodrive.git diff --git a/platform/linux/gp2x.c b/platform/linux/gp2x.c index 4a7c556..ef21a67 100644 --- a/platform/linux/gp2x.c +++ b/platform/linux/gp2x.c @@ -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; @@ -363,6 +368,11 @@ unsigned long gp2x_joystick_read(int allow_usb_joy) return value; } +int gp2x_touchpad_read(int *x, int *y) +{ + return -1; +} + /* 940 */ int crashed_940 = 0; void Pause940(int yes)