Added joystick detection support.
The game now searches for the first connected joystick to interface with. If a connected is established with said joystick, its axes can be read; otherwise, keyboard inputs are used as usual.