X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin_lib.c;fp=frontend%2Fplugin_lib.c;h=72b33950d4cedbf3007a61368f651af19cb475fb;hp=f045abb8f2ad59943371f9f63c106d9b3e55f134;hb=7010034e5499a82f96f9fb45e7be31789a3f63b9;hpb=84b0e44599886bac368fa48cd82979019adb904d diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index f045abb8..72b33950 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -582,19 +582,7 @@ static void update_input(void) in_keystate = actions[IN_BINDTYPE_PLAYER12]; } #else /* MAEMO */ -#include -static void update_input(void) -{ - extern int g_maemo_opts; - extern int maemo_x11_update_keys(); - if (g_maemo_opts&8) - maemo_x11_update_keys(); - else{ - /* process GTK+ events */ - while (gtk_events_pending()) - gtk_main_iteration(); - } -} +extern void update_input(void); #endif void pl_update_gun(int *xn, int *yn, int *xres, int *yres, int *in)