-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unable to run examples #65
Labels
help wanted
Extra attention is needed
Comments
some more info: the hid_enumerate API just seems to not list the JoyCon |
I appreciate your report. @medakk 👍 But I have few experience of linux OS, it seems to be so difficult to solve this problem immidiately by myself. |
I succeeded in running examples on Ubuntu 20.04.
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger
-hidapi = "1.3"
+hidapi = { version = "1.3", features = ["linux-static-hidraw"], default-features = false } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for creating this library!
I'm having some trouble running the examples on Ubuntu 20.04, with kernel 5.11.0-38-generic. I paired my Joy-Con (R) via bluetooth.
If I run
cat /dev/input/js0
I can see that button presses are getting sent to my computer. However, the joycon-rs examples (for example scan_for_joycons) don't seem to recognize my joycon. There is no output and I can only close it with Ctrl+CI also tried the "Receiving reports" example on the README.md and the same behaviour occurs there. Using a debugger, its stuck on the line
managed_devices.into_iter()
I've also tried using the dkms-hid-nintendo kernel module, but I still can't get the library to work.
Do you have any pointers on what else I could try/check?
EDIT: to confirm the dkms HID nintendo kernel module works, I have verified with
dmesg
:and two controllers(regulars controls, and IMU) show up in jstest-gtk
The text was updated successfully, but these errors were encountered: