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

libhidapi-hidraw is not found #14

Open
marieismywaifu opened this issue Jul 31, 2018 · 5 comments
Open

libhidapi-hidraw is not found #14

marieismywaifu opened this issue Jul 31, 2018 · 5 comments

Comments

@marieismywaifu
Copy link

I figured out that I need to install hidapi myself, don't worry. However, as I am an absolute noob, I probably did something wrong. I'm running ./uinputdriver and it gives the following error: "error while loading shared libraries: libhidapi-hidraw.so.0: cannot open shared object file: No such file or directory" Am I using this wrong, or did I install hidapi wrong?

@yaomtc
Copy link

yaomtc commented Sep 30, 2018

Do you have the development package, which on Ubuntu is called libhidapi-dev?

@marieismywaifu
Copy link
Author

Whoa, I did not expect to get a reply to this.
I don't remember exactly what I did two months ago, but it was certainly more complicated than "sudo apt-get install libhidapi-dev".
[facepalm]
OK, so now the program actually starts, only it exits right away because it can't get a handle for the Pro Controller. (which is plugged in and charging)
And yes, I did re-download this thing and re-make it. It worked first try, but with a bunch of warnings.

@yaomtc
Copy link

yaomtc commented Sep 30, 2018

I ran into the same issue. I posted an issue but given your issue never got a response until I came around, my hopes aren't high.

#16

However I did end up finding the controller Just Works with Steam now (with the correct udev rules). It's no universal driver, but it does let me play Undertale with a decent D-pad, so, good enough for now.

@albfan
Copy link

albfan commented Jan 9, 2021

Clone hidapi somewhere:

git clone https://github.com/libusb/hidapi
git clone https://github.com/shinyquagsire23/HID-Joy-Con-Whispering
cd HID-Joy-Con-Whispering/hidtest
g++ -lhidapi-hidraw hidtest.cpp -o joycon -I ../../hidapi

You can run with

./joycon

@yaomtc
Copy link

yaomtc commented Jan 9, 2021

Thanks but I'm using this now: https://aur.archlinux.org/packages/hid-nintendo-nso-dkms/

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

3 participants