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)
Fri, Nov 8, 11:38 AM
Unknown Object (File)
Fri, Nov 8, 11:03 AM
Unknown Object (File)
Thu, Nov 7, 10:06 PM
Unknown Object (File)
Thu, Nov 7, 8:25 PM
Unknown Object (File)
Oct 1 2024, 12:14 AM
Unknown Object (File)
Sep 30 2024, 3:34 PM
Unknown Object (File)
Sep 23 2024, 9:50 AM
Unknown Object (File)
Sep 21 2024, 2:08 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.