[Core/IO] added gamepad type auto-detection