Official HID to VPAD

Discussion in 'Wii U - Homebrew' started by Maschell, Apr 25, 2016.

  1. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    914
    1,331
    Jun 14, 2008
    Gambia, The
    That would be really easy, but will unload when you start the HBL / you can't chain it with other homebrew. I can throw something together later.

    @lordelan
    Did you try it? You could simply pack the .rpx with nuspacker.
    Btw. I still had no success compiling retroarch =(
     
    Last edited by Maschell, Apr 19, 2017
    ZzzWayne, Feffe and Wishi like this.
  2. lordelan

    lordelan GBAtemp Advanced Maniac

    Member
    1,691
    481
    Jan 4, 2015
    Gambia, The
    What do you mean?
    The RetroArch Launcher is already installed here but since I haven't gotten my GC Controllers right now I can't test whether they work in RetroArch.
     
  3. cucholix

    cucholix Banners guy

    Member
    1,251
    690
    Jan 17, 2017
    Chile
    No, and your idea is dumb.
     
  4. Wishi

    Wishi Rareware Gamer

    Member
    189
    152
    Nov 24, 2015
    Mexico
    It doesn't matter if you have installed retroarch in the menu when you launch it is like if you launch Homebrew channel straight to retroarch so it's the same , you can't load hid to vpad and then Homebrew channel neither any Homebrew app installed in the menu because it will crash /:
     
    lordelan likes this.
  5. lordelan

    lordelan GBAtemp Advanced Maniac

    Member
    1,691
    481
    Jan 4, 2015
    Gambia, The
    Makes sense as the RetroArch launcher is just a forwarder.
    Couldn't this be resolved by making an installable (full, not just forwarder) version of HID to VPAD like the HBL Channel that allocates its own memory instead of using Mii Maker's memory?
    I ordered the adapter and a Smash GC controller today and wanna use it in RetroArch so badly. :D
     
  6. nastys

    nastys ナースティス

    Member
    1,487
    864
    Aug 5, 2014
    Italy
    Earth
    Is there a way to set the values for each half of an axis individually?
    I'm trying to create a configuration file for the Thrustmaster Firestorm Dual Analog 3 and 4 but the axes are really weird...
    The neutral (centre) value is 0x00 and the rightmost value is 0x7F, but the leftmost value is 0x80. From the left to the centre, values range from 0x80 to 0xFF, while from the centre to the right they range from 0x01 to 0x7F.
    Nintendont required some patching, as you can see here: https://github.com/FIX94/Nintendont...dbd1abc#diff-55c1d4c0086bdc02658384f5f39ea5e7
    Does HID to VPAD require some modifications as well?

    Here is part of the configuration file so far (R-Y is different from the other axes):
    Code:
    VPAD_L_STICK_X=0x03,0x00
    VPAD_L_STICK_X_DEADZONE=0x00
    VPAD_L_STICK_X_INVERT=FALSE
    VPAD_L_STICK_X_MINMAX=0x00,0xFF
    VPAD_L_STICK_Y=0x04,0x00
    VPAD_L_STICK_Y_DEADZONE=0x00
    VPAD_L_STICK_Y_INVERT=FALSE
    VPAD_L_STICK_Y_MINMAX=0x00,0xFF
    VPAD_R_STICK_X=0x05,0x00
    VPAD_R_STICK_X_DEADZONE=0x00
    VPAD_R_STICK_X_INVERT=FALSE
    VPAD_R_STICK_X_MINMAX=0x00,0xFF
    VPAD_R_STICK_Y=0x06,0x80
    VPAD_R_STICK_Y_DEADZONE=0x00
    VPAD_R_STICK_Y_INVERT=TRUE
    VPAD_R_STICK_Y_MINMAX=0x00,0xFF
     
  7. Jarmarcus

    Jarmarcus Member

    Newcomer
    18
    3
    Jan 4, 2017
    United States
    It's all good fam. I was thankful for you fixing the adventure time game. Again you're a busy man so I'm glad you gave it a shot. Just keep doing you and hopefully you figure out what's going on with those games
     
  8. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    914
    1,331
    Jun 14, 2008
    Gambia, The
    Waaaaaaaaaaaaaaaaaaaaaaaaaaahhh. I FINALLY found a solution. It quite changes (and also simplifies) how I patch the functions.
    I need to clean up the code and test a bit more, it might break some games (I don't know yet). But I'm sooo happy that this is finally working!
     
  9. lordelan

    lordelan GBAtemp Advanced Maniac

    Member
    1,691
    481
    Jan 4, 2015
    Gambia, The
    You're fantastic, Maschell! Congratulations!
     
  10. Jarmarcus

    Jarmarcus Member

    Newcomer
    18
    3
    Jan 4, 2017
    United States
    WOW that was quick!!! Congrats on conquering one of your challenges!!!
     
  11. Felek666

    Felek666 retarded memekid which no one likes

    Member
    3,520
    4,004
    Jan 3, 2017
    Poland
    reddit.com/r/satania/
    Translations? Prepare for Polish translation then. :P
     
  12. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    914
    1,331
    Jun 14, 2008
    Gambia, The
    I just pushed two updates for HID to VPAD.

    https://github.com/Maschell/hid_to_vpad/releases/tag/HIDtoVPAD-v0.9h-nightly-9de3b8b

    This will:
    - add support for the Switch Pro Controller via USB
    - and changed the pro controller emulation. This fixes these unity games, but may break something else.

    It would be really cool, if some people can do some deep testing if everything is still working as expected. Different games and different controller setup (e.g. adapter with mutliple slots etc.). If you experience anything not working, please report it!
    So far every game I tried worked, but you never know..

    I also updated the wiki and added pages for the XInput and Switch Pro Controller configuration.
     
  13. Enkuler

    Enkuler Member

    Newcomer
    23
    26
    Jan 25, 2017
    France
    Yo, didn't test this out with the latest upstream and I don't even know if it is already documented somewhere but I have some weird discrepancies while using hid to vpad in conjunction with a GC adapter.
    If my GC adapter is already plugged in and working when I "patch" so I can use my keyboard (with/without mouse) I have to unplug/replug the adapter or else it isn't recognised.

    Maybe something having to do with overwriting the hid device tree ? I don't know how this stuff works ^^. Should I file an issue in the github page ?
     
  14. Cliftin

    Cliftin Member

    Newcomer
    43
    8
    Dec 5, 2013
    United States
    I have a suggestion for a feature that shouldn't be too hard to implement, config swapping. I think the ability to swap in different configurations in the app would be pretty useful.
     
    Maschell and nastys like this.
  15. JackVetti

    JackVetti Newbie

    Newcomer
    2
    1
    Apr 23, 2017
    United States
    Is anyone else having trouble using this while playing VC? If I have any controllers running HID to vPad, any Wii U VC will crash on start up. Anyone else experiencing this or have found a fix for it?
     
  16. Felek666

    Felek666 retarded memekid which no one likes

    Member
    3,520
    4,004
    Jan 3, 2017
    Poland
    reddit.com/r/satania/
    I managed to once get AC:WW running with HIDtoVPAD but it froze after 5 minutes of gameplay.
    So, no fix for that. for now.
     
    JackVetti likes this.
  17. JackVetti

    JackVetti Newbie

    Newcomer
    2
    1
    Apr 23, 2017
    United States
    I got DK64 to work for a hot second and was disappointed that multiple controllers weren't working so I turned it off. The fool I was.
     
    Felek666 likes this.
  18. WiinerMario

    WiinerMario Member

    Newcomer
    30
    10
    Apr 7, 2014
    My N64 VC use to freeze but with the latest nightlies all vc games I have tested are fine. For example tried mario kart 64 with 4 controllers in the gc adapter and they all worked fine.
     
    JackVetti likes this.
  19. TLPD-AVW

    TLPD-AVW Member

    Newcomer
    32
    14
    Aug 17, 2016
    Russia
    I can confirm that the latest nightiles fixed the VC freeze. Playing N64 games on GC controller is very satisfying.
     
    JackVetti likes this.
  20. EstPC13

    EstPC13 GBAtemp Fan

    Member
    415
    143
    Jan 3, 2016
    In your mind
    Hi, is there any way the UI could be changed for this to be used without a gamepad? Or is there any way to replace the gamepad's input while it's off? Everytime the gamepad dies, the controller dies with it.