Arduino-USB-HID-RetroJoystickAdapter
Arduino-USB-HID-RetroJoystickAdapter copied to clipboard
Sketch for PS2 not detected as /dev/input/jsX
Hello!
The project looks very cool and promising, but I got stuck with HID core.
I am using RetroJoystickAdapter_Playstation.ino
, and in debug mode it seems to work fine, joystick state can be easily read from the console.
When I plug it in, /dev/input/mouseN+1 appears, but not jsX device. What am I doing wrong?
The sketch does not use Joystick2 library, is that correct?
This is my first time touching HID devices with Mega32U4, so sorry for stupid questions
Update: the example for Joystick library works fine and is detected as /dev/input/js0
.
Unfortunately, I am a little lost in the code for PS2, I don't get why there are four separate joysticks, what is multitap
.
Since the signature (hidReportDescriptor) was changed to handle less data in PS2 demo, it's hard to make direct comparison
P.S. I have a Chinese wireless joystick for PS2, and have never played any of Playstations, I just need it as a remote control for a robot.