MHeironimus / ArduinoJoystickLibrary

An Arduino library that adds one or more joysticks to the list of HID devices an Arduino Leonardo or Arduino Micro can support.
GNU Lesser General Public License v3.0
2.07k stars 403 forks source link

In Game Controllers everything works fine but erratic in games #164

Closed EloyFarina closed 3 years ago

EloyFarina commented 3 years ago

Board: Arduino Leonardo R3 (clone but looks identical to the original) SO: Windows 10 x64 Joystick: SEGA Genesis MK-1470 6-Button Turbo Controller (clone) Code used: "GamepadExample.ino" (without modify)

In Game Controllers the Arduino Leonardo joystick works as expected. D-Pad and the B button works correctly, however in all games that I've tested, it moves to the left continuously, even if I touch B button.

Not sure if this behavior is related to the code. Any help will be appreciated.

2020-09-03 21_29_37-Propiedades de Arduino Leonardo

Sin título

Regards

EloyFarina commented 3 years ago

I fixed the issue with x360ce software. It creates a virtual XBOX 360 joystick, then you must to remap D-PAD and the button, and after that re-calibrate the new virtual XBOX 360 joystick in Game Controllers panel.

x360ce must be running at background before launching the game that you want play. If x360ce is closed then the virtual XBOX 360 joystick will disappear from Game Controllers panel.

For some reason Leonardo Arduino joystick can't be hidden in Game Controllers panel with x360ce software, anyway just ignore it.

MHeironimus commented 3 years ago

Glad you were about to get your issue resolved.