wiiu pro controller support

Issue #402 resolved
Former user created an issue

Original issue 402 created by perryallsopp@yahoo.co.uk on 2014-10-17T17:13:20.000Z:

add support for wiiu pro controller using libwupc library

Comments (21)

  1. Former user Account Deleted

    Comment # 1 originally posted by ekeeke31 on 2014-10-17T17:24:28.000Z:

    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 ?

  2. Former user Account Deleted

    Comment # 2 originally posted by perryallsopp@yahoo.co.uk on 2014-10-17T17:46:19.000Z:

    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

  3. Former user Account Deleted
    • changed status to open

    Comment # 3 originally posted by ekeeke31 on 2014-10-18T09:03:40.000Z:

    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=b1943e283cb84d4dcb4b942ed776ea3e#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.

  4. Former user Account Deleted

    Comment # 4 originally posted by perryallsopp@yahoo.co.uk on 2014-10-18T13:28:49.000Z:

    you are amazing, also im all up for testing it for you. once again thanks

  5. Former user Account Deleted

    Comment # 5 originally posted by barkstar79 on 2014-11-20T01:03:10.000Z:

    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.

  6. Former user Account Deleted

    Comment # 6 originally posted by ekeeke31 on 2014-11-23T10:35:39.000Z:

    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.

  7. Former user Account Deleted

    Comment # 7 originally posted by barkstar79 on 2014-11-23T15:10:08.000Z:

    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.

  8. Former user Account Deleted

    Comment # 8 originally posted by ekeeke31 on 2015-01-12T23:34:29.000Z:

    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.

  9. Former user Account Deleted

    Comment # 9 originally posted by perryallsopp@yahoo.co.uk on 2015-01-13T01:07:44.000Z:

    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

  10. Former user Account Deleted

    Comment # 10 originally posted by ekeeke31 on 2015-01-13T13:58:47.000Z:

    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.

  11. Former user Account Deleted

    Comment # 11 originally posted by ekeeke31 on 2015-01-13T20:24:38.000Z:

    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.

  12. Former user Account Deleted

    Comment # 12 originally posted by perryallsopp@yahoo.co.uk on 2015-01-13T20:55:06.000Z:

    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 :)

  13. Former user Account Deleted

    Comment # 13 originally posted by ekeeke31 on 2015-01-13T21:02:36.000Z:

    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.

  14. Former user Account Deleted

    Comment # 15 originally posted by ekeeke31 on 2015-01-21T23:42:15.000Z:

    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).

  15. Former user Account Deleted

    Comment # 17 originally posted by perryallsopp@yahoo.co.uk on 2015-01-22T20:38:31.000Z:

    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

  16. Former user Account Deleted

    Comment # 18 originally posted by perryallsopp@yahoo.co.uk on 2015-01-22T20:40:21.000Z:

    Ment to say invalid input with wiimote 1 only, the one not connected.

  17. Former user Account Deleted

    Comment # 20 originally posted by perryallsopp@yahoo.co.uk on 2015-01-23T19:43:38.000Z:

    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

  18. Log in to comment