DanielOgorchock / joycond

userspace daemon to combine joy-cons from the hid-nintendo kernel driver
GNU General Public License v3.0
340 stars 68 forks source link

Silence "Unhandled uinput type" error for EV_LED events #50

Closed gal20 closed 3 years ago

gal20 commented 3 years ago

I noticed that after #49, these errors are written to the log sometimes. An EV_LED case should be added to handle_uinput_event to silence this error. Not sure if the case should be 'handled' somehow, because right now the LED events work correctly, so I just added the case with no additional code to 'handle' it.

DanielOgorchock commented 3 years ago

I think the ideal solution would be having the uinput handler set the corresponding leds of the physical controllers. That way the combined controller's led api would work fully. I don't think it's a high priority though.