Joystick Leftstick triggering Keyboard Horizontal Vertical

I am new to Unity3d and have a problem with Joystick and Keyboard support for a coop game.

Player 1 controlls his character movement with Keyboard inputs. This works like a charm.
Player 2 movement is bound to the leftstick of all joysticks. If i tilt the left stick of the joystick both player 1 and player 2 are moving.

What am i doing wrong?

I tried to change the “joy num” on the “Horizontal” input to Joystick 11 but that also did not help. Is there no way to force input to be recognized only by keyboard?

Thanks!

Player 1

h=Input.GetAxisRaw ("Horizontal");

v=Input.GetAxisRaw ("Vertical");

Player 2

v=-Input.GetAxisRaw("PS4_yAxis_LeftStick");

h=Input.GetAxisRaw ("PS4_xAxis_LeftStick");

My guess is that you have another axis called “Horizontal” in a later slot in the Input Manager. In the default setup, you have 2 axes called “Horizontal”, one grabbing keyboard keys, the other representing the joystick axis.
Two axes having the same name are being associated with an “or” operation.