Official HID to VPAD

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

Apr 25, 2016

Official HID to VPAD by Maschell at 10:06 PM (156,718 Views / 65 Likes) 1,310 replies

  1. Maschell
    OP

    Member Maschell GBAtemp Advanced Fan

    Joined:
    Jun 14, 2008
    Messages:
    798
    Country:
    Germany
    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

    Member lordelan GBAtemp Maniac

    Joined:
    Jan 4, 2015
    Messages:
    1,287
    Country:
    Germany
    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

    Member cucholix GBAtemp Regular

    Joined:
    Jan 17, 2017
    Messages:
    144
    Country:
    Chile
    No, and your idea is dumb.
     
  4. Wishi

    Member Wishi Rareware Gamer

    Joined:
    Nov 24, 2015
    Messages:
    151
    Country:
    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

    Member lordelan GBAtemp Maniac

    Joined:
    Jan 4, 2015
    Messages:
    1,287
    Country:
    Germany
    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

    Member nastys ナースティス

    Joined:
    Aug 5, 2014
    Messages:
    1,279
    Location:
    Earth
    Country:
    Italy
    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

    Newcomer Jarmarcus Member

    Joined:
    Jan 4, 2017
    Messages:
    18
    Country:
    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

    Member Maschell GBAtemp Advanced Fan

    Joined:
    Jun 14, 2008
    Messages:
    798
    Country:
    Germany
    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

    Member lordelan GBAtemp Maniac

    Joined:
    Jan 4, 2015
    Messages:
    1,287
    Country:
    Germany
    You're fantastic, Maschell! Congratulations!
     
  10. Jarmarcus

    Newcomer Jarmarcus Member

    Joined:
    Jan 4, 2017
    Messages:
    18
    Country:
    United States
    WOW that was quick!!! Congrats on conquering one of your challenges!!!
     
  11. Felek666

    Member Felek666 redNAND hate machine // Azu-nya~

    Joined:
    Jan 3, 2017
    Messages:
    1,779
    Location:
    Petting my catgirls
    Country:
    Poland
    Translations? Prepare for Polish translation then. :P
     
  12. Maschell
    OP

    Member Maschell GBAtemp Advanced Fan

    Joined:
    Jun 14, 2008
    Messages:
    798
    Country:
    Germany
    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

    Newcomer Enkuler Member

    Joined:
    Jan 25, 2017
    Messages:
    12
    Country:
    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

    Newcomer Cliftin Member

    Joined:
    Dec 5, 2013
    Messages:
    42
    Country:
    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

    Newcomer JackVetti Newbie

    Joined:
    Sunday
    Messages:
    2
    Country:
    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

    Member Felek666 redNAND hate machine // Azu-nya~

    Joined:
    Jan 3, 2017
    Messages:
    1,779
    Location:
    Petting my catgirls
    Country:
    Poland
    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

    Newcomer JackVetti Newbie

    Joined:
    Sunday
    Messages:
    2
    Country:
    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

    Newcomer WiinerMario Member

    Joined:
    Apr 7, 2014
    Messages:
    29
    Country:
    United Kingdom
    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

    Newcomer TLPD-AVW Newbie

    Joined:
    Aug 17, 2016
    Messages:
    1
    Country:
    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

    Member EstPC13 GBAtemp Fan

    Joined:
    Jan 3, 2016
    Messages:
    408
    Location:
    In your mind
    Country:
    Dominican Republic
    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.
     

Share This Page