Official HID to VPAD

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

  1. Moon164

    Moon164 GBAtemp Regular

    Member
    106
    10
    Nov 21, 2015
    Brazil
    You can send me the new file of Switch Pro Controller ?, I'm use the files on the first page of this topic/post.
     
  2. zeldaism

    zeldaism GBAtemp Advanced Fan

    Member
    787
    266
    Apr 19, 2016
    United States
    Here you go. Extract the zip and place the file in wiiu/controller on your SD card.
     

    Attached Files:

    Last edited by zeldaism, Oct 23, 2017
    Moon164 and lordelan like this.
  3. lordelan

    lordelan GBAtemp Addict

    Member
    2,163
    733
    Jan 4, 2015
    Germany
    What you described is what happened to my newly bought USB SNES controllers before I made ini files for them.
    I know that there should already be an ini file for the Switch Pro Controller included in HID to VPAD but it may be the case that yours have another firmware or god knows what else so to be on the safe side, just take your time and make a new ini file for it which you place in SD:\wiiu\controller\

    Take this as a source:
    Warning: Spoilers inside!
    Go to the Wii U, connect your controller and launch this:
    http://wiiubru.com/appstore/#/app/hidtest
    Now press the A button on your controller and look at which bit a value changes.
    Let's assume the value for 05 changes to 2F.
    Then you would change the line for VPAD_BUTTON_A in your ini to:
    Code:
    VPAD_BUTTON_A = 0x05,0x2F
    Repeat this for all buttons and make sure to check if the vid and pid from the ini are the same as shown in HID Test at the top.
    Don't change the MINMAX values at the end of the file.
    Save it as SD:\wiiu\controller\switchpro.ini

    It should work. I dunno why you have to reconnect the wire everytime though.
     
  4. Borsalino

    Borsalino Advanced Member

    Newcomer
    92
    6
    Mar 9, 2016
    Canada
    I was reading this for HID to VPAD support for my USB Snes controller which I got from ebay.

    https://github.com/Maschell/controller_patcher/wiki/5.d-Controller-|-Adding-new-devices

    I was wondering how I could find the addresses of the controller. Is there a tool for windows that can allow me to determine what are the addresses?

    Figured it out but for some reason its not working. My DS3 controller was working perfectly. Here's the config I got.

    Code:
    [vid=0x0810,pid=0xE501]
    
    VPAD_BUTTON_A = 0x05,0x2F
    VPAD_BUTTON_B = 0x05,0x4F
    VPAD_BUTTON_X = 0x05,0x1F
    VPAD_BUTTON_Y = 0x05,0x8F
    VPAD_BUTTON_PLUS = 0x06,0x20
    VPAD_BUTTON_MINUS = 0x06,0x10
    
    VPAD_BUTTON_L = 0x06,0x01
    VPAD_BUTTON_R = 0x06,0x02
    
    VPAD_BUTTON_LEFT = 0x03,0x00
    VPAD_BUTTON_RIGHT = 0x03,0xFF
    VPAD_BUTTON_UP = 0x04,0x00
    VPAD_BUTTON_DOWN = 0x04,0xFF
    
    PAD_COUNT = 1
     
    Last edited by Borsalino, Oct 26, 2017
  5. lordelan

    lordelan GBAtemp Addict

    Member
    2,163
    733
    Jan 4, 2015
    Germany
    Seems like you've got one with the exact same vid/pid as me. Look a few posts back where I upped my.config and look whether that is working for you because it is for me.
     
  6. Borsalino

    Borsalino Advanced Member

    Newcomer
    92
    6
    Mar 9, 2016
    Canada
    I tried using the .ini attachment on this post. Apparently its still not working for me... We have the save vid and pid. I got this one from ebay though. I don't know why it won't work.

    Here's the hidtest screenshot:

    [​IMG]
     
  7. lordelan

    lordelan GBAtemp Addict

    Member
    2,163
    733
    Jan 4, 2015
    Germany
    Hmm here's mine:
    Warning: Spoilers inside!
    As you can see they look exactly the same.
    Where did you put the controller ini?
    Which USB port are you using?
    Do you use something like a HUB?
     
  8. Borsalino

    Borsalino Advanced Member

    Newcomer
    92
    6
    Mar 9, 2016
    Canada
    Controller ini file is located ati sd:\wiiu\controller folder along with the other ini files provided by Maschell

    I'm using the one at the front beside the SD card slot

    Nope I just plug it in directly.
     
  9. lordelan

    lordelan GBAtemp Addict

    Member
    2,163
    733
    Jan 4, 2015
    Germany
    Could you try it with RetroArch please?
    I have a suspicion.
     
  10. Borsalino

    Borsalino Advanced Member

    Newcomer
    92
    6
    Mar 9, 2016
    Canada
    Negative. Retroarch can only read my Gamepad.

    EDIT: Fu*k I just realized why. It was controller, not controller"s". I am so blind.

    @lordelan How do I make this work with retroarch?
     
    Last edited by Borsalino, Oct 27, 2017
  11. lordelan

    lordelan GBAtemp Addict

    Member
    2,163
    733
    Jan 4, 2015
    Germany
    Does that mean it works in HID to VPAD now?
    If that's the case then it automatically works in RetroArch as well.
    To activate the controller, set the max users (input settings) to the max value. I guess 15 or 16 was the max value.
    Then go to the input for the user you want to use the controller with (e.g. user 2) and on device press right until the device shows up with the vid/pid.
     
    Borsalino likes this.
  12. Moon164

    Moon164 GBAtemp Regular

    Member
    106
    10
    Nov 21, 2015
    Brazil
    Thanks, The left analog stick of Switch Pro Controller is Way Better now ^^
     
    zeldaism likes this.
  13. zeldaism

    zeldaism GBAtemp Advanced Fan

    Member
    787
    266
    Apr 19, 2016
    United States
    You're welcome. :)
     
  14. lordelan

    lordelan GBAtemp Addict

    Member
    2,163
    733
    Jan 4, 2015
    Germany
    Unfortunately I'm facing the same issue with RetroArch on PC (e.g. in Super Mario 64) but that hasn't anything to do with HID to VPAD or it's ini files. Just sayin'. :/
     
    zeldaism likes this.
  15. BQuail

    BQuail Advanced Member

    Newcomer
    56
    19
    Oct 19, 2017
    United States
    Can anyone verify if the 4 port mayflash gamecube adapter works with this? Those are a lot easier to get your hands on than the official Nintendo one.
     
  16. lordelan

    lordelan GBAtemp Addict

    Member
    2,163
    733
    Jan 4, 2015
    Germany
    Yep. Using it for ages now. Works great for MK8. :)
    In RetroArch too of course.
     
  17. BQuail

    BQuail Advanced Member

    Newcomer
    56
    19
    Oct 19, 2017
    United States

    Appreciate the response. Would you happen to know if that adapter supports the wavebird?
     
    lordelan likes this.
  18. lordelan

    lordelan GBAtemp Addict

    Member
    2,163
    733
    Jan 4, 2015
    Germany
    From what I'have heard it does.
    Technically (for the port) a Wavebird is nothing but a regular GC controller.
     
  19. RepeatingDigits

    RepeatingDigits GBAtemp Regular

    Member
    169
    119
    Apr 9, 2015
    Chile
    You just saved us from Smash Bros hell. Now we can play something else.
    Thank you.
     
  20. d0n0x

    d0n0x Member

    Newcomer
    25
    12
    Feb 14, 2016
    Mexico
    Hello friends. I made it work the Logitech Driving Force pro steering whell partially because when i turn the steering whell the initial position value changes and the buttons don´t work untill i return the steering wheel to the original position.

    For example i have this code for the button A in my .ini file

    VPAD_BUTTON_A = 0x01,0x11

    but when i turn the steering wheel the initial value changes of 0x01 to 0x00 or 0x02 and the A button don´t work untill i return the steering whell to the initial position. the same happend with other buttons.

    theres a way to fix this? i need ideas.

    PD: i´m noob xD
     
    Last edited by d0n0x, Nov 2, 2017
Loading...