dimok789 / homebrew_launcher

WiiU Homebrew Launcher
GNU General Public License v3.0
405 stars 94 forks source link

[Enhancement] Navigation through Wii U Pro controller #28

Open cucholix opened 7 years ago

cucholix commented 7 years ago

It could be nice being able to navigate HBL with the Wii U Pro Controller, so far you only can do that through Wiiremote and Gamepad.

CreeperMario commented 7 years ago

I've started looking into this already. (I'll also allow you to use buttons on the GamePad and Wii Remote, instead of having to use the touch screen or point).

cucholix commented 7 years ago

That's great, this will included in the official release or will be a mod?

CreeperMario commented 7 years ago

I'll pull request it, but it won't be official until dimok returns and merges the pull request (assuming he even does).

In the meantime, it will be available in my fork, which you can place on your SD card on top of the other one.

cucholix commented 7 years ago

I'm checking your fork, does it contain only source, not binaries?

CreeperMario commented 7 years ago

My repo is only source, but once my changes are actually ready, I can provide you with a binary to test-drive.

cucholix commented 7 years ago

Looking forward to it, thanks!

Riyyi commented 7 years ago

@CreeperMario 'or point' so the Wii remote already works to select homebrew? Anyway, I'm also looking forward to your pull request.

CreeperMario commented 7 years ago

Preliminary implementation of button-only controls

This homebrew_launcher.elf can replace the one on your SD card in sd:/wiiu/apps/homebrew_launcher homebrew_launcher.elf.zip

cucholix commented 7 years ago

Thank you works great with WUPC :)

ddurdle commented 7 years ago

Does this fork still require a gamepad powered on? I know the goal of the fork is to allow for other controllers to control the interface, but at it's foundation, regualr HBL won't launch without a gamepad syned and connected to the system regardless of what controller you are actually using at launch time.

zaersc commented 7 years ago

Hi CreeperMario, do you know if a new HBL channel title installer is needed to get your changes for pro controller support to work? I tried just replacing the elf on my SD, but doesn't seem any different from the official 2.1 release (A button doesn't do anything, up/down just switches pages). I launch HBL channel to get into hbl. Thanks for your work, cool feature.

CreeperMario commented 7 years ago

Oh, geez. I forgot about this.

These changes currently only take effect in the ELF version. The channel edition has not been changed. I'll work on that when I have time.

(Unless someone else wants to fork my changes and finish it. https://github.com/CreeperMario/homebrew_launcher)

stonerbong42069 commented 7 years ago

looking foward to the channel version always annoying to have to grab the gamepad

CreeperMario commented 7 years ago

Okay, I think I figured it out.

Once again, simply replace the homebrew_launcher.elf file on your SD card with this one to test these changes out. homebrew_launcher.elf.zip

EDIT: Hotfix update to correctly enable support for the Classic/Pro controllers. homebrew_launcher.elf.zip

CreeperMario commented 7 years ago

Here's a channel version as well. Extract this archive and put the contents inside the sd:/install folder, and install them using WUPInstaller Y-Mod or WUPInstaller GX2.

Note that if you already have the Homebrew Launcher channel installed, you should uninstall it first, before installing my version, otherwise some weird caching issues may occur, resulting in the channel being broken.

hblout.zip

EDIT: Hotfix update to correctly enable support for the Classic/Pro controllers. hblout.zip

cucholix commented 7 years ago

Hotfix works perfect, thanks!

westonlast commented 6 years ago

The hotfix version of the channel failed to load. The Homebrew Launcher banner displays, and then the screen freezes black.

CreeperMario commented 6 years ago

The hotfix version of the channel failed to load. The Homebrew Launcher banner displays, and then the screen freezes black.

Did you delete the original Homebrew Launcher from your console (System Settings -> Data Management) before installing this one? I've found that installing new versions of titles on top of existing ones is problematic sometimes.

Try deleting the Homebrew Launcher and reinstalling it.

westonlast commented 6 years ago

I didn't have a previous Homebrew Launcher installed. I use JsTypeHax ( https://gbatemp.net/threads/haxchi-on-5-5-2-self-hosting-method.481209/ ) which starts your custom ELF Homebrew Launcher loaded into Mii Maker. Then I applied the signature patch. Then I installed your channel version of Homebrew Launcher. Black screen after banner.

LinerFWZ commented 5 years ago

Okay, I think I figured it out.

  • You can now press the + button on the GamePad to switch into DPAD mode.
  • In this DPAD mode, the GamePad's touch screen will stop responding, and a pointer will show up on screen. The user can then use the DPAD to move this pointer around on the screen, and use the A button to trigger an action.
  • Pressing + again will revert to touch screen mode.
  • Note that due to the way that this works, in DPAD mode, the actions of the DPAD and A buttons are overridden, so their previous actions will no longer work. However, in the case of HBL, this is not an issue.
  • The same process can be performed on Wii Remote controllers, which is useful for those who want to use a Wii Remote but do not have a functioning sensor bar.
  • Theoretically, users should also be able to use Classic Controllers and Wii U Pro Controllers in the same manner, however I am not in possession of these devices, and so cannot guarantee that this works.
  • I added a new image file which represents the GamePad's pointer icon.

Once again, simply replace the homebrew_launcher.elf file on your SD card with this one to test these changes out. homebrew_launcher.elf.zip

EDIT: Hotfix update to correctly enable support for the Classic/Pro controllers. homebrew_launcher.elf.zip

My wiiu has some problem,I can't use touchpad to click the "load" or "back" button when I open hbl Very thanks to you,your mod save my device!

Maschell commented 5 years ago

See https://github.com/dimok789/homebrew_launcher/pull/35#issuecomment-449742815

Sean-Amor commented 5 years ago

Okay, I think I figured it out.

  • You can now press the + button on the GamePad to switch into DPAD mode.
  • In this DPAD mode, the GamePad's touch screen will stop responding, and a pointer will show up on screen. The user can then use the DPAD to move this pointer around on the screen, and use the A button to trigger an action.
  • Pressing + again will revert to touch screen mode.
  • Note that due to the way that this works, in DPAD mode, the actions of the DPAD and A buttons are overridden, so their previous actions will no longer work. However, in the case of HBL, this is not an issue.
  • The same process can be performed on Wii Remote controllers, which is useful for those who want to use a Wii Remote but do not have a functioning sensor bar.
  • Theoretically, users should also be able to use Classic Controllers and Wii U Pro Controllers in the same manner, however I am not in possession of these devices, and so cannot guarantee that this works.
  • I added a new image file which represents the GamePad's pointer icon.

Once again, simply replace the homebrew_launcher.elf file on your SD card with this one to test these changes out. homebrew_launcher.elf.zip EDIT: Hotfix update to correctly enable support for the Classic/Pro controllers. homebrew_launcher.elf.zip

My wiiu has some problem,I can't use touchpad to click the "load" or "back" button when I open hbl Very thanks to you,your mod save my device!

Is this safe to use still? I would love to not have to use drc-sim to load up a cfw to play an installed game. (I do not have a gamepad)

CreeperMario commented 5 years ago

It should still work, but please keep in mind that this only changes the Homebrew Launcher, Haxchi or the web browser may still require a GamePad depending on how your system is set up.

Sean-Amor commented 5 years ago

Good point, I do the web browser hack to boot Homebrew with drc-sim server and a phone as the pad. I guess I should either do the haxchi method, or coldboot which I guess still requires haxchi initially.

On Mon, Jul 15, 2019, 10:01 PM CreeperMario notifications@github.com wrote:

It should still work, but please keep in mind that this only changes the Homebrew Launcher, Haxchi or the web browser may still require a GamePad depending on how your system is set up.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dimok789/homebrew_launcher/issues/28?email_source=notifications&email_token=AGBT36NH7S7SNYYVFNLP2OTP7U22PA5CNFSM4C574MHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ7RQGQ#issuecomment-511645722, or mute the thread https://github.com/notifications/unsubscribe-auth/AGBT36NPNOMRGL7ALBVLRODP7U22PANCNFSM4C574MHA .

CHIPSSSSAHOYYYYY commented 5 years ago

@CreeperMario this does not work for me btw. I am new to modding. I am using the elf that you posted