From 03fc8e9043246716a36a152750c9c69cce301d73 Mon Sep 17 00:00:00 2001 From: SindenLightgun <47393540+SindenLightgun@users.noreply.github.com> Date: Sun, 15 Sep 2019 00:11:53 +0100 Subject: [PATCH] Adding Guncon support for mouse based lightguns --- frontend/libretro.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.39.2