Well that was a wasted 3 hours. Ok, fixed how joystick/keyboard key detection works, but fucking hell sdl1.2 joystick support blows major balls.