libsdl-org / SDL

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

Wii support via Devkit Pro homebrew SDK #6195

Open Wohlstand opened 2 years ago

Wohlstand commented 2 years 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 2 years 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 2 years 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.