Support for gamepad (currently only works on my pc, will probably
crash the game for others)