faulks78 / genplus-gx

Automatically exported from code.google.com/p/genplus-gx
Other
0 stars 0 forks source link

request auto shutdown of wiimote on startup #408

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.request auto shutdown of wiimote on startup of emulator so that it saves 
battery if you are just using wiiu ppro controller 

What is the expected output? What do you see instead?

Currently wii note stays on all the time but isn't required if using wiiu pro 
controller. On nintendont something similar has been implemented so this should 
hopefully be also possible for genplusgx?

What version of the emulator are you using (official, SVN revision,...)?
Vwii on latest firmware and latest single build with pro controller support

Original issue reported on code.google.com by baboonz1...@gmail.com on 14 Mar 2015 at 3:35

GoogleCodeExporter commented 9 years ago
It already does, all Wii homebrew will disconnect the wiimote after 5 minutes 
if it is not being used.

Original comment by ekeeke31@gmail.com on 14 Mar 2015 at 6:30

GoogleCodeExporter commented 9 years ago
The patch on nintedont is about 10 seconds so quite a difference? Plus now on 
genplusgx the wiimote is the default in the gui menu when it first boots so it 
seems to stay on (the pro u controller works ok when in game though as I've 
defined that in the emulator gui )?

Original comment by baboonz1...@gmail.com on 14 Mar 2015 at 7:56

GoogleCodeExporter commented 9 years ago
5min is safer since people might still want to use the wiimote even with other 
controllers connected. The emulator shouldn't disactivate all other connected 
devices immediately just because a pro u controller is detected, maybe 
nintendont does but i think it's a rather limiting design choice.

As for wiimote being used by default in menu, the emulator uses whatever is 
registered as first controller so if you want to use the pro u controller in 
menu (or exit back to menu from games with pro u home button), you just need to 
register it as primary device on wiiU.

And if you don't use your wiimote then don't connect it, simple as that.

Original comment by ekeeke31@gmail.com on 14 Mar 2015 at 8:25

GoogleCodeExporter commented 9 years ago
You can't navigate the homebrew channel though with the pro u pad on wiiu so 
like all homebrew it needs to start the emulator with the wiimote Which makes 
that controller the main/default first controller when genplus launches. I 
guess it is a design choice on nintedont as this means whatever controller you 
actually press a button on first after the dol launches is default but you can 
also press any button on another controller when/if you want to and that then 
becomes the 2nd player controller - or if you don't press then the remote just 
stays off. Sorry if you think this isn't worth the effort though as I just 
thought it might be something of value? Thanks also though for maintaining this 
amazing emulator :-)

Original comment by baboonz1...@gmail.com on 14 Mar 2015 at 8:46

GoogleCodeExporter commented 9 years ago
"it needs to start the emulator with the wiimote Which makes that controller 
the main/default first controller when genplus launches"

That's not how Wii homebrew selects the controller ids. The first controler 
controller is the one that is registered as first controller in Wii menu 
settings. I don't have a pro u controller but I think that if you set it to 
first player in Wii/vWii menu and set the wiimote to second player, you will be 
still able to control HBC with wiimote (as 2nd input controller) and emulator 
with pro u (as 1st input controller).

Original comment by ekeeke31@gmail.com on 14 Mar 2015 at 8:53

GoogleCodeExporter commented 9 years ago
The pro u controller doesn't register on wii or vwii naively (so you can't 
register it as default pad) and only works in home brew that's patched with the 
lib pro u hack (the pro u pad also isn't supported in hbc). I'm not near my 
wiiu now but I'll test again when I can if I can select in genplus making the 
pro u pad p1 default and not the wiimote? 

Original comment by baboonz1...@gmail.com on 14 Mar 2015 at 9:06

GoogleCodeExporter commented 9 years ago
I don't use the wupc lib in genplus but a modified libwiiuse. The pro u appears 
in libwiiuse as a registered controller, just like any normal wii controller 
and nothing special is done  (it is just handled little bit differently than a 
normal classic controller). The connection order is still handled as usual by 
libwiiuse and is based on the order of bluetooth registered devices in sysconf. 
The order also determines the led being used on each controller: i believe wupc 
lib will enable the first led on both pro u and wiimote, this should not be the 
case here with genplus.

Original comment by ekeeke31@gmail.com on 14 Mar 2015 at 11:13

GoogleCodeExporter commented 9 years ago
This might help too:
http://en-americas-support.nintendo.com/app/answers/detail/a_id/1149/~/how-to-ch
ange-the-order-of-controllers-synced-with-the-console

Original comment by ekeeke31@gmail.com on 14 Mar 2015 at 11:27

GoogleCodeExporter commented 9 years ago
The link guide you posted worked thanks(I feel sorry for wasting your time on 
something so trivial). Thanks again for the detailed replies as very much 
appreciated! Please sign this one off EKeEke.:-)

Original comment by baboonz1...@gmail.com on 15 Mar 2015 at 8:42