Input System doesn't work

Hi everyone, I’m trying the new Input system for a racing game but it doesn’t seem to do anything.
I created the following Player Controller (i.e. i highlighted the right trigger to accelerate).

And use:
protected PlayerController controls;

protected void Awake()
{
controls = new PlayerController();

controls.Movement.Accelerate.performed += ctx => Debug.Log(“Pressed”);
controls.Movement.Accelerate.canceled += ctx => Debug.Log(“Released”);
}

But it doesn’t log anything when I press the right trigger. What am I missing?
I widely used the previous Input Manager but i can’t get this to work.

controls.Movement.Enable()

2 Likes