The culprit might be Player.cs line 169 where you consider any value for the axis of the trigger-buttons other than -1 as shooting. It' possible that some controllers never return a value of exactly -1.0f. I'll see if I can fix it and send you a pull request on GitHub.
Sorry, but it doesn't seems like I can just fix that for you that easily. Playstation and XInput gamepads use different axis configurations in Unity. You can check out how this works here: https://wiki.unity3d.com/index.php/Xbox360Controller
- The triggers are axis 3.
- The right stick are axis 4 (horizontal) and 5 (vertical).
So people with an XInput gamepads like me just need to hold the right stick down when they don't want to shoot.
I don't think there is a simple fix to just make it work on either gamepad. I think you have to add some way for the player to tell you what gamepad they have and configure the control accordingly. Or perhaps switching to the new Unity Input System might help?
Thanks for looking into this and for the info. I thought of the new Input System during the jam but I was afraid I would get stuck implementing a big system that I don't know about in the middle of a jam. I'm definitely planning to know more about it before my next jam though. I have used InControl in the past I also thought I would save time by skipping that layer.
It's too bad for this time, but next time I'll know more about this, and I'll put the necessary time in it