Comments (16)
I have considered adding an out-of-tree module build option in the past. I just submitted a new patchset to the mailing list. I suspect it's pretty close to being merged in. I've removed the IMU patch for now, since that's where most of the needed work is.
If the feedback on my latest patchset looks like it'll be awhile still, I may mess around with an out-of-tree option to put on the aur in the meantime.
from linux.
https://github.com/nicman23/dkms-hid-nintendo
i did a junk dkms module that works - 0 idea how to make it default to the hid-nintendo
currently needs something like
echo 0003:057E:2009.000A > /sys/class/input/js0/device/device/driver/unbind
echo 0003:057E:2009.000A > /sys/bus/hid/drivers/nintendo/bind
e: lol nvm forgot depmod
from linux.
I should probably add that to the joycond udev rules
edit: I did
from linux.
Cool. Thanks.
from linux.
do you have any readme how to install the dkms module?
Yes an AUR package would be fantastic as well!
from linux.
clone the repo; cd into it
sudo dkms add .; sudo dkms build nintendo -v 1.0
it is generic so i did not bother with it
i ll probably make a pkgbuild when i have time
from linux.
cheers!
the gyroscope of the joycons are not working yet with the driver, right?
from linux.
the gyroscope of the joycons are not working yet with the driver, right?
it does but it is a different device
also just pushed hid-nintendo-dkms to the aur
from linux.
@nicman23 thanks for you work!
i have connected succesfully the joycons via bluetooth and evtest lists them as devices. however the gyro does not raise any events. also I have no extra device listed.
may you give a short tutorial how to get the gyro running? thx
from linux.
no idea - i am not the original creator and have only messed with the pro controller
if you get it running please tell me how
from linux.
@mattrei Are you running evtest as root? I think the IMU evdevs don't get picked up by uinput for changing permissions.
Note that I haven't done much testing yet with the gyro support, and I removed it from the latest submission to the mailing list. I do have that in-progress patch still up in this repo, which in theory works, but there's some issues I need to fix with it still.
from linux.
@nicman23 Thanks for the aur package!
from linux.
Thanks for the aur package!
no prob :)
Note that I haven't done much testing yet with the gyro support, and I removed it from the latest submission to the mailing list. I do have that in-progress patch still up in this repo, which in theory works, but there's some issues I need to fix with it still.
fyi the dkms modules has it
from linux.
@DanielOgorchock oh yes the Joy-Con IMU is popping up on evtest with root privileges. is there a way to have it also for non-root users?
my main wish for getting joycons gyro to work is playing Super Mario Galaxy on the dolphin emulator on linux 💯
from linux.
@mattrei You can set a udev rule (recommended) or put yourself in the input group (not recommended for daily use since it also exposes keyboard, etc to all user apps)
from linux.
Hi, If anyone is still interested I did a dkms module for this driver a while ago adding udev rules and sdl2 mapping:
https://github.com/mpawlowski7/NXControllers
I also improved player led counting so it's now working as on the switch.
from linux.
Related Issues (20)
- can't connect pro controller via bt, permission denied HOT 1
- Pro Controller disconnects when connected via Bluetooth HOT 122
- hid-nintendo module fails to load HOT 5
- Gulikit King Kong Controller hang HOT 18
- SN30 Pro+ controller's Switch mode isn't recognized at all...? HOT 4
- IMU axes don't match with DualShock/Dualsense
- Is hid-nintendo still maintained? HOT 4
- 3rd Party Joycon Compatibility HOT 11
- Player LED behavior is wrong HOT 3
- Pro Controller connected with USB, doesn't reconnect after computer resumes from suspend HOT 4
- nintendo pro gamepad can't works well when connected with BT
- Joycon assigned incorrectly as pro controller HOT 1
- Bluetooth is refusing to work HOT 6
- Cam HOT 4
- Which kernel version got the 'rumble rate limiter' fix? HOT 1
- Testing Rumble, is it mixed up?
- Third Party Joycons not working properly HOT 1
- 3rd Party Pro Controller SP5248LED HOT 3
- Gulikit KingKong2 unable to properly sync HOT 1
- Nintendo Switch Online N64 Controller doesn't work with linux kernel 6.8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux.