Closed GoogleCodeExporter closed 9 years ago
I don't have a wiiu pro controller to test it anyway and I don't know what is libwupc library, care to elaborate and make a proper feature request ?
Original comment by ekeeke31@gmail.com
on 17 Oct 2014 at 5:24
libwupc in made by fix94 to add wiiu pro controller support to wii homebrew,
here a link to its google code page https://code.google.com/p/libwupc/ also got
confused on how to make proper request so sorry about that :P
Original comment by perryall...@yahoo.co.uk
on 17 Oct 2014 at 5:46
Unfortunately, the license (GPL) is incompatible with Genesis Plus GX
non-commercial license so it can not simply be reused here. The implementation
also seems kinda "hackish" around libogc and require modification in emulator
code.
It seems a better way to patch libogc to add support for wiiu pro controller
(tuedj posted a patch in this thread:
http://devkitpro.org/viewtopic.php?f=7&t=8344&sid=b1943e283cb84d4dcb4b942ed776ea
3e#p15258)
and simply rebuild the emulator with it, it should just work straight forward without any modification.
But as I said, I don't have a WiiU pro controller to test it and verify it
indeed works. I will try to post a test build so you can test it yourself.
Original comment by ekeeke31@gmail.com
on 18 Oct 2014 at 9:03
you are amazing, also im all up for testing it for you. once again thanks
Original comment by perryall...@yahoo.co.uk
on 18 Oct 2014 at 1:28
Hi there,
Are you still planning on implementing this sometime in the future if possible?
If so I would also be very interested in testing this should you have time to
put a build of this together. It feels great to be able to use the Wii U Pro
Controller with various homebrew and would be a fantastic addition to be able
to use this with gensplus-gx!
Thanks.
Original comment by barksta...@gmail.com
on 20 Nov 2014 at 1:03
I have some code changes that I want to commit first and stil needs testing
before I try to recompile libogc and post a build.
Original comment by ekeeke31@gmail.com
on 23 Nov 2014 at 10:35
Thank you for the reply. Great to hear you will look into this in the future!
And congratulations on providing fantastic emulation. It is one of my most
used on the Wii U and has a great user interface also! Thank you very much.
Original comment by barksta...@gmail.com
on 23 Nov 2014 at 3:10
It has been a long time but if you are still interested, here is a quick
(untested) implementation roughly based on tueidj code.
Would be great if you could give it a try, Wii U Pro Controller LED should
light up like any other wii controllers if connection is fine. The controller
needs to be previously registered to your Wii of course, not sure where this
can be done for a Wii U Pro Controller.
Also keep in mind the emulator will only look at the first connected device to
navigate into the GUI but you can check & remap any detected device for mulated
games in input settings.
Original comment by ekeeke31@gmail.com
on 12 Jan 2015 at 11:34
done a quick test and her are my results. please note I'm using a wiiu
- when wiiupro controller is set as player 1 it constantly goes through menus
and stops at the game selection menu. i can move up and down to browse game
list but i can't select one. the home button works and takes me up one menu but
it instantly goes back to game list. next i started with wiiu pro set as
controller 2 and wiimote set as 1. i loaded genplus again and used the wiimote
to reassign player 1 to wiiu pro which shows up as a classic controller but
when i went to reassign button config the wiiu console froze and only
unplugging would turn it off. after a reset i loaded up alex kidd using
previous setting and same thing as first attempt happened, auto press till game
starts but alex did walk left on his own. on a positive note the led lights
work right showing ether led 1 or 2 depending on controller order
Original comment by perryall...@yahoo.co.uk
on 13 Jan 2015 at 1:07
Ok, thanks for the detailled report, it would honestly have been very
surprising if it worked out of the box. Good thing is the detection and
connection of Wii U Pro worked.
Now it simply seems like buttons appear as always being pressed, which can lead
to different behavior depending if you are in main menu or game selection menu,
key mapping menu, etc... pretty much what you are describing.
I will try to review my code and evntually post another DOL to test when I got
some time.
Original comment by ekeeke31@gmail.com
on 13 Jan 2015 at 1:58
Here is another test version. Wiimote IR should be disabled in this one but
WiiU Pro Controller should now report proper buttons status now. Please also
check if analog sticks (left one at least) works fine in game.
Original comment by ekeeke31@gmail.com
on 13 Jan 2015 at 8:24
Attachments:
done another quick test for you and here are the results.
- with pro controller set as player 1 load perfectly into gui, can navigate
with d-pad and all button respond perfectly. however the left analog doesn't
respond unless you hold for a second or two then the shoots in which ever
direction your holding. tested setting a custom button layout and no crash this
time and I'm able to set buttons fine. as for the games its perfect. the analog
doesn't do the same thing as gui and works perfectly. tested alex kidd (ms),
battletoads (gen) and sonic 2 (gen) and the pro controller works flawlessly. i
think you've nailed this one. just like to thank you for your work :)
Original comment by perryall...@yahoo.co.uk
on 13 Jan 2015 at 8:55
Yes, analog sticks are only used for fast scrolling in menus and are only
really usable in game selection menus, that's a design choice.
So, everything work as expected, that's fine, thanks for testing. Now I just
need to finalize the implementation and cleanup the code a little before
commiting it.
Original comment by ekeeke31@gmail.com
on 13 Jan 2015 at 9:02
Original comment by ekeeke31@gmail.com
on 13 Jan 2015 at 9:03
Here is the cleaned version compiled. Could you (or someone else having access
to WiiU Pro Controller) test if it still works fine ?
Also please verify that input devices detection still works fine in Controller
Settings menu and especially that it only lets you select a Wii Remote on ports
where there is actually one connected (not on Wii U Pro controller port).
Original comment by ekeeke31@gmail.com
on 21 Jan 2015 at 11:42
Setup wiiu pro playeyr 1 and wiimote player 2. All works fine like before.
Input detection works fine, can set buttons. But for some reason its showing
wiimote 1 and 2 along with the wiiu pro. Get invalid input when i try to play
game but no crash so that good. Thanks
Original comment by perryall...@yahoo.co.uk
on 22 Jan 2015 at 8:38
Ment to say invalid input with wiimote 1 only, the one not connected.
Original comment by perryall...@yahoo.co.uk
on 22 Jan 2015 at 8:40
ok, and with this one ?
Original comment by ekeeke31@gmail.com
on 23 Jan 2015 at 7:26
Attachments:
thats done it. no longer showing "phantoms" controllers in list. only showing
ones which are synced. i would say this in perfect now. many thanks
Original comment by perryall...@yahoo.co.uk
on 23 Jan 2015 at 7:43
added in r932
Original comment by ekeeke31@gmail.com
on 24 Jan 2015 at 4:28
Original issue reported on code.google.com by
perryall...@yahoo.co.uk
on 17 Oct 2014 at 5:13