Update joystick API (pressing button 1 will terminate input properly now)
Fix (there's two loops!)