Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sketch for PS2 not detected as /dev/input/jsX #11

Open
NetBUG opened this issue Jul 23, 2019 · 1 comment
Open

Sketch for PS2 not detected as /dev/input/jsX #11

NetBUG opened this issue Jul 23, 2019 · 1 comment

Comments

@NetBUG
Copy link

NetBUG commented Jul 23, 2019

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

@NetBUG
Copy link
Author

NetBUG commented Jul 23, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant