itanium
1
Hi,
I have a problem with UnityEngine.InputSystem v.1.0.0.
WASD and Arrow bindings are put under separate Actions:
- WASD under MoveLeftRod
- Arrows under MoveRightRod
Here’s the screenshot of setup for Input Actions:
Problem: When WASD is pressed then OnMoveRightRod() is called instead of OnMoveLeftRod() - WASD and Arrows both call OnMoveRightRod().
Any ideas?
P.S. On gamepad everything works as it should:
- Left stick: OnMoveLeftRod()
- Right stick: OnMoveRightRod()
BUMP?
Code is straight forward, so issue shouldn’t be not there.
Especially, if GamePad works flawlessly.
public void OnMoveLeftRod(InputValue value)
{
Debug.Log("OnMoveLeftRod: " + v.x + "; " + v.y);
}
public void OnMoveRightRod(InputValue value)
{
Debug.Log("OnMoveRightRod: " + v.x + "; " + v.y);
}
Ok, solved the issue.
Just had to remove bindings for WASD and Arrows and create new ones with the same config - weird, must be some bug.