aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin_lib.c
diff options
context:
space:
mode:
authornotaz2013-02-17 16:52:51 -0800
committernotaz2013-02-17 16:52:51 -0800
commit84b0e44599886bac368fa48cd82979019adb904d (patch)
tree0f8cb3b70626e8b08606b4e8a79f4e967b1390a2 /frontend/plugin_lib.c
parent1ac804af759a1439428d57c41c05bdda0c59bc21 (diff)
parentbaaef67b10823d852e517b24d3b33772533f7cd1 (diff)
downloadpcsx_rearmed-84b0e44599886bac368fa48cd82979019adb904d.tar.gz
pcsx_rearmed-84b0e44599886bac368fa48cd82979019adb904d.tar.bz2
pcsx_rearmed-84b0e44599886bac368fa48cd82979019adb904d.zip
Merge pull request #12 from sakya/master
Maemo ehancement
Diffstat (limited to 'frontend/plugin_lib.c')
-rw-r--r--frontend/plugin_lib.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c
index a3dcbab..f045abb 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 <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();
+ }
}
#endif