Adding Guncon support for mouse based lightguns
authorSindenLightgun <47393540+SindenLightgun@users.noreply.github.com>
Sat, 14 Sep 2019 23:11:53 +0000 (00:11 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Sep 2019 23:11:53 +0000 (00:11 +0100)
frontend/libretro.c

index 620cd17..929477f 100644 (file)
@@ -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);