Closed dmanlfc closed 2 years ago
Ah, interesting. So it looks like the LED_FUNCTION_PLAYER*
constants landed in the kernel only about ten months ago.
It would be possible to use an #ifdef
to define these constants if they're not already defined. That would resolve this issue.
I'll try to update when this is done.
I released version 1.12 which addresses this most immediate compilation error. I do not know if you'll encounter others trying to build on your version of Linux, but if so, please do open a new issue. (If this fix doesn't work for some reason, reopen this issue.)
Hope it works well for you!
thanks @emilyst I will check it out & confirm.
Emily, it works well, tested RPi4 with pro controller & joycons with joycond - all worked as expected.
Wonderful! Thank you for the confirmation.
it would be great to allow older kernels used with arm boards to leverage the hid-nx driver. here is an example with the 5.10.128 kernel used with amlogic boards (s922x). the error is the same with the RPi4 using the 5.15.x kernel.