retro100 / dosbox-wii

DOSBox Wii
http://wiibrew.org/wiki/DOSBox_Wii
GNU General Public License v2.0
7 stars 1 forks source link

wiiu gamepad support possible to add? #3

Open carnage702 opened 3 years ago

carnage702 commented 3 years ago

Any chance like many wii apps that run injected on vwii you can had wiiu gamepad support? it would be cool mapping the wiiu gamepad xD

retro100 commented 3 years ago

At the moment, I don't really have the time. But I am grateful for any help ;-) If there are already forks with WiiU Gamepad support, or other references, then please post.

carnage702 commented 3 years ago

At the moment, I don't really have the time. But I am grateful for any help ;-) If there are already forks with WiiU Gamepad support, or other references, then please post.

there is some wii emulators with wiiu gamepad support that was added FCE Ultra GX Genesis Plus GX Snes9x GX Visual Boy Advance GX Wii64 WiiSX mgba nintendont(not an emulator but still supports it) there is even an homebrew channel that i use on vwii that has wiiu gamepad support you can find it here https://github.com/FIX94/hbc

vaguerant commented 3 years ago

I added Wii U GamePad support to OpenHCL for Wii a while ago. Here's the commit with the necessary changes: https://github.com/JeffRuLz/OpenHCL/pull/4/commits/ad295de0e5928dd7f238c823d80425cfa27e905b

It's actually simpler than you'd probably expect it to be. I don't know how different the DOSBox-Wii codebase is from something like OpenHCL, so it may not be as easy here, but somebody familiar with how input works over here should be able to get it done in a relatively short time.

I'm really not a programmer of any kind, I sort of just blundered my way to getting it working in OpenHCL. I think I used FIX94's HBC, as linked above by carnage, as my guide. I don't want to get anybody's hopes up by saying I'll look into it here, it's more likely to get done by almost literally anybody else, but if nobody more capable gets to it first, I'll try to take a look at this next week.

EDIT: The complicated part here vs. OpenHCL is that the latter is a single-player game where all controllers just operate simultaneously to control the player. I think DOSBox-Wii has a more complex setup where each controller is configured separately, so that's where this becomes more difficult, at least to a rank amateur like myself.

EDIT2: I'm also now seeing that controls actually don't work at all currently (as reported in #4), so ... that probably won't help with getting the Wii U GamePad working either. :V

carnage702 commented 3 years ago

Retro100 now that you fixed controller bug if you can had wiiu gamepad support that would be killer playing dosbox with dynarec with wiiu gamepad and overclock is the best possible thing imo.