Seems like it was because i had a ps2 controller plugged in
Why is the character autowalking to the right?