Mouse button events work inside the controller but not inside the player

Yes.

The input was earlier placed in the controller, but now I have removed it from there.

Enabling input and enabling controls aren’t the same?

How to do this?