Uzebox / uzebox

A retro-minimalist game console engine for the ATMega644
http://uzebox.org
126 stars 43 forks source link

Add support for "slow" clone SNES controllers #141

Open danboid opened 2 months ago

danboid commented 2 months ago

Mouser have announced that their clone SNES controllers are EOL so the 10 they currently have in stock are likely the final 10 they are selling. That leaves us with the Hyperkin Scout as the only known working option for a clone SNES / Uzebox controller and they are at least 3x the price of the Mouser / Adafruit pads.

@Jubatian has made these "slow" controllers work in the bootloader and you can also use them in FOAD and IKD 1.0. The IKD 1.0 binary was build using a Uzebox kernel patched with Thorsten's patch:

https://github.com/Uzebox/uzebox/pull/117

I've not tried Thorsten's patch again recently but last time I did try it, it no longer worked but I wasn't sure what had broke. IKD 1.0 is the proof that Thorsten's patch for slow controllers was working at one point.

I know Jubatian started looking into a "proper" fix for this but he hasn't had the time to finish that work off and Uzebox stuff itsn't not a priority high enough to justify getting this sorted.

I can't remember what the reasoning was for not updating and using Thorsten's patch. If its doing it in a "wrong" way, could it not be adapted to do it a less wrong or right way?