diff options
author | notaz | 2013-02-17 16:52:51 -0800 |
---|---|---|
committer | notaz | 2013-02-17 16:52:51 -0800 |
commit | 84b0e44599886bac368fa48cd82979019adb904d (patch) | |
tree | 0f8cb3b70626e8b08606b4e8a79f4e967b1390a2 /frontend/plugin_lib.c | |
parent | 1ac804af759a1439428d57c41c05bdda0c59bc21 (diff) | |
parent | baaef67b10823d852e517b24d3b33772533f7cd1 (diff) | |
download | pcsx_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.c | 10 |
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 |