X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fpandora%2Fpandora.c;h=6c33e6ccd7594090a514ba1b1d4b262feec5aedf;hb=bfa124288c633b7631a37bb0e6be0aca1e2363ea;hp=b72d8b6520e6b34847c1e237845d8275a6552e0e;hpb=e5ab6fafac1ee3cbe105c8cc49413c99d6874802;p=picodrive.git diff --git a/platform/pandora/pandora.c b/platform/pandora/pandora.c index b72d8b65..6c33e6cc 100644 --- a/platform/pandora/pandora.c +++ b/platform/pandora/pandora.c @@ -12,7 +12,6 @@ #include #include "../gp2x/gp2x.h" -#include "../linux/usbjoy.h" #include "../linux/sndout_oss.h" #include "../common/arm_linux.h" @@ -87,22 +86,6 @@ void gp2x_pd_clone_buffer2(void) memset(gp2x_screen, 0, 800*480*2); } - -unsigned long gp2x_joystick_read(int allow_usb_joy) -{ - unsigned long value = 0; - int i; - - if (allow_usb_joy && num_of_joys > 0) { - // check the usb joy as well.. - usbjoy_update(); - for (i = 0; i < num_of_joys; i++) - value |= usbjoy_check(i); - } - - return value; -} - // FIXME #if 0 static int touchcal[7] = { 6203, 0, -1501397, 0, -4200, 16132680, 65536 }; @@ -180,9 +163,6 @@ void gp2x_init(void) // snd sndout_oss_init(); - /* init usb joys -GnoStiC */ - usbjoy_init(); - printf("exitting init()\n"); fflush(stdout); } @@ -196,7 +176,6 @@ void gp2x_deinit(void) if (fbdev >= 0) close(fbdev); sndout_oss_exit(); - usbjoy_deinit(); printf("all done"); }