From: SindenLightgun <47393540+SindenLightgun@users.noreply.github.com> Date: Sat, 14 Sep 2019 23:11:53 +0000 (+0100) Subject: Adding Guncon support for mouse based lightguns X-Git-Tag: r24l~691^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=inline;h=03fc8e9043246716a36a152750c9c69cce301d73;p=pcsx_rearmed.git Adding Guncon support for mouse based lightguns --- diff --git a/frontend/libretro.c b/frontend/libretro.c index 620cd172..929477f3 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1927,7 +1927,6 @@ void retro_run(void) //GUNCON has 3 controls, Trigger,A,B which equal Circle,Start,Cross // Trigger - //input_state_cb(i, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_O) //The 1 is hardcoded instead of i to prevent the overlay mouse button libretro crash bug if (input_state_cb(1, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_LEFT)){ in_keystate[i] |= (1 << DKEY_CIRCLE);