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=f045abb8f2ad59943371f9f63c106d9b3e55f134;hp=a3dcbab9e56bd2461f03d84c99cba97e353baa05;hb=a76fd9535db9b36dd4d8f2e6bc9d804db807907f;hpb=1ac804af759a1439428d57c41c05bdda0c59bc21 diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index a3dcbab9..f045abb8 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -582,8 +582,18 @@ 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(); + } } #endif