libsdl-org / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
8.73k stars 1.64k forks source link

Wii support via Devkit Pro homebrew SDK #6195

Open Wohlstand opened 1 year ago

Wohlstand commented 1 year ago

Hello!

Some time ago, I started my work on porting the SDL2 to Wii. I saw that SDL1 was, but I also heard it was poorly supported.

I created this issue in order to track the work and discuss anything if needed. I do use Devkit Pro to make the port.

Sub-systems to port:

If anything is also needed, please tell me.

The current state of my Wii branch is enough to run the MixerX with a simple demo on the Wii and play sound and music.

My current work is here: https://github.com/Wohlstand/SDL/tree/wii-support

slouken commented 1 year ago

FYI, I just added support for Wii controllers in the HIDAPI driver. I'm guessing that it's not useful for the APIs you have access to, but might be interesting anyway.

Wohlstand commented 1 year ago

FYI, I just added support for Wii controllers in the HIDAPI driver. I'm guessing that it's not useful for the APIs you have access to, but might be interesting anyway.

I saw some commits that mentions this. As I know, this allows to use Wii controllers on any other platform. On Wii itself there is own API to use these controllers, but I also expect, there is possible to use custom controllers via USB, but I never attempted to make something with, need to investigate some.