The input is written in the Update of unity.
For example to move to the left you must press D, then W and then A, but without releasing the previous ones. and to move again you have to do it again.
It is a bit difficult but I raised it like this to resemble the real behavior of a cassette