Page MenuHomeFreeBSD

uhid driver for Super Nintendo gamepads
ClosedPublic

Authored by johalun0_gmail.com on May 10 2018, 9:30 PM.

Details

Summary

This patch adds a new uhid usb driver for Super Nintendo gamepads. These devices seem to be a bit special and can not be handled by the normal uhid driver or uhidd.
Two known devices are added to the list, one of them is confirmed working with FS-UAE on amd64 12-CURRENT.

This code was originally written in 2013 by Michael Terrell and can be found at this repo: https://github.com/cwithmichael/dragon_rise_driver.
It has been cleanup and added to base tree in 2018 by Johannes Lundberg.

TODO: Maybe add support for evdev if it makes sense.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

Did you check if this driver is already supported by webcamd?

Did you check if this driver is already supported by webcamd?

Yes, I could not get webcamd to recognize the device..

This revision is now accepted and ready to land.May 11 2018, 7:30 AM

Looks good. Approved!

Perfect! Can you help with getting this committed?

I'll see if I can find some time for this. --HPS

This revision was automatically updated to reflect the committed changes.

Some minor modifications were maed before submitting. Character device name must be /dev/uhid_snes and not /dev/uhid , unless the SNES driver belongs to the uhid device class.