Code Monkey home page Code Monkey logo

Comments (16)

DanielOgorchock avatar DanielOgorchock commented on July 20, 2024 1

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.

nicman23 avatar nicman23 commented on July 20, 2024 1

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.

DanielOgorchock avatar DanielOgorchock commented on July 20, 2024 1

I should probably add that to the joycond udev rules
edit: I did

from linux.

DanielOgorchock avatar DanielOgorchock commented on July 20, 2024

Cool. Thanks.

from linux.

mattrei avatar mattrei commented on July 20, 2024

do you have any readme how to install the dkms module?
Yes an AUR package would be fantastic as well!

from linux.

nicman23 avatar nicman23 commented on July 20, 2024

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.

mattrei avatar mattrei commented on July 20, 2024

cheers!

the gyroscope of the joycons are not working yet with the driver, right?

from linux.

nicman23 avatar nicman23 commented on July 20, 2024

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.

mattrei avatar mattrei commented on July 20, 2024

@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.

nicman23 avatar nicman23 commented on July 20, 2024

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.

DanielOgorchock avatar DanielOgorchock commented on July 20, 2024

@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.

DanielOgorchock avatar DanielOgorchock commented on July 20, 2024

@nicman23 Thanks for the aur package!

from linux.

nicman23 avatar nicman23 commented on July 20, 2024

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.

mattrei avatar mattrei commented on July 20, 2024

@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.

dogtopus avatar dogtopus commented on July 20, 2024

@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.

mpawlowski7 avatar mpawlowski7 commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.