X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin_lib.c;h=ee0e0868207842729ee52908793f7a710df2a0e2;hp=c2fa10057bcd9d5e959045ee5757f9a47004c68b;hb=4218954fcca1237c29f0ba071a4e62d80542cd7e;hpb=cefe86b749ed699cd8af96e4875bb4e90e967569 diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index c2fa1005..ee0e0868 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -171,8 +171,9 @@ static void update_input(void) in_keystate = actions[IN_BINDTYPE_PLAYER12]; #ifdef X11 - extern int x11_update_keys(void); - in_keystate |= x11_update_keys(); + extern int x11_update_keys(unsigned int *action); + in_keystate |= x11_update_keys(&emu_act); + emu_set_action(emu_act); #endif }