Page MenuHomeFreeBSD

uhid driver for Super Nintendo gamepads
ClosedPublic

Authored by johalun0_gmail.com on May 10 2018, 9:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 3:00 PM
Unknown Object (File)
Wed, Nov 20, 2:01 PM
Unknown Object (File)
Thu, Nov 14, 6:16 PM
Unknown Object (File)
Thu, Nov 14, 12:00 PM
Unknown Object (File)
Thu, Nov 14, 7:32 AM
Unknown Object (File)
Wed, Nov 13, 6:10 PM
Unknown Object (File)
Wed, Nov 13, 4:01 PM
Unknown Object (File)
Wed, Nov 13, 3:38 PM
Subscribers

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 Not Applicable
Unit
Tests Not Applicable

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.