Reputation: 97
I have a game with 2 Players who can shoot, the problem is right now when i press joystick button 0 on joystick 1 they both shoot. Apparently Joy Num only works when you use Joystick Axis but i don't want the axis to shoot i want button 0.
Upvotes: 1
Views: 5637
Reputation: 157
Mah kind of answered it already, but it looks like the problem is just your "Alt Positive Button" field should be
joystick 1 button 0
instead of
joystick button 0
Upvotes: 1
Reputation: 1073
This is a limitation of the current Unity InputManager. You should really try to take a look to the new Input System https://github.com/Unity-Technologies/InputSystem (still in beta testing).
PS. Right now you can actually use multiple joystick https://docs.unity3d.com/Manual/ConventionalGameInput.html
with specific joystick buttons name joystick 1 button 0 instead of joystick button 0
Upvotes: 2