As soon as I turned on my (Bluetooth) XBox controller, the player started walking to the right without me touching any keys.
Is this intended behaviour?
Turning off the controller didn't stop the player from constantly walking to the right.
The only way to stop the character from walking to the right is to hold the 'a' (left) key, but this causes the character to stop moving instead of moving to the left as expected.