frontend: maemo: some refactoring
[pcsx_rearmed.git] / frontend / plugin_lib.c
index f045abb..72b3395 100644 (file)
@@ -582,19 +582,7 @@ static void update_input(void)
        in_keystate = actions[IN_BINDTYPE_PLAYER12];
 }
 #else /* MAEMO */
-#include <gtk/gtk.h>
-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)