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)
Jan 12 2024, 5:30 AM
Unknown Object (File)
Dec 20 2023, 6:22 AM
Unknown Object (File)
Dec 12 2023, 3:42 AM
Unknown Object (File)
Aug 28 2023, 3:01 AM
Unknown Object (File)
Aug 4 2023, 1:18 PM
Unknown Object (File)
Aug 4 2023, 1:14 PM
Unknown Object (File)
Aug 4 2023, 1:06 PM
Unknown Object (File)
Jul 7 2023, 7:05 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.