ArduinoJoystickLibrary
ArduinoJoystickLibrary copied to clipboard
Gamepad connection to games
Description of Issue
Hello, i used your library to create a gamepad that correctly works (as windows correctly detect it and shows joystick movement and button press). However, i tried with many different game, and no one is able to recognize arduino as a gamepad yet. Is there any particular process i have to follow in order for games to recognize a custom gamepad? Could the fact that i'm using the Keyboard library be important for this issue?
PS: to be fair, Steam Big-Picture mode let me map each individual input (e.g it asks me to for the X axis signal and i have to move the joystick, it will then save it as "X axis" in its own controller) in this way i can make it works with steam games. So i guess i need something similar for every game (maybe an external software?)
Technical Details
- Arduino Board: Micro
- Host OS: Windows 10
- Arduino IDE Version: 1.8.12
Sketch File that Reproduces Issue
#include <Joystick.h> Joystick_ Joystick(JOYSTICK_DEFAULT_REPORT_ID, JOYSTICK_TYPE_GAMEPAD, 32, 0, true, true, false, false, false, false, false, false, false, false, false);
Sketch file goes here (if applicable)
Dont think it's relevant, i'll upload if necessary
Wiring Details
Not relevant
I have the same issue, please post here if you solved the issue.
sadly not yet, for now i surrendered to use a WASD configuration instead
You just need to use an Xinput wrapper like x360ce for your games. Look up how to use it online and it should work like a charm!
it should work with steam