X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fgp2x.h;h=f9aa851e95f5d6e23d5ad3012e902f91e0fab4d7;hb=6bae2e90d459dcbff157252ddfa7b87d25b8309f;hp=2d2e535ea9b627c06ba5a02485cde09bdc9554ce;hpb=a12e01162349cd970e9b6fe5674497760631279b;p=picodrive.git diff --git a/platform/gp2x/gp2x.h b/platform/gp2x/gp2x.h index 2d2e535..f9aa851 100644 --- a/platform/gp2x/gp2x.h +++ b/platform/gp2x/gp2x.h @@ -25,8 +25,9 @@ void gp2x_start_sound(int rate, int bits, int stereo); void gp2x_sound_write(void *buff, int len); void gp2x_sound_volume(int l, int r); -/* joy */ +/* input */ unsigned long gp2x_joystick_read(int allow_usb_joy); +int gp2x_touchpad_read(int *x, int *y); /* 940 core */ void Pause940(int yes);