Official HID to VPAD

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

  1. ACCA919

    ACCA919 Advanced Member

    Newcomer
    1
    Feb 21, 2019
    Hong Kong
     
    Missingphy likes this.
  2. PeeJay Bonobo

    PeeJay Bonobo Advanced Member

    Newcomer
    5
    May 10, 2014
    United States
    Jamaica, New York


    I still have the mp3 that I downloaded somewhere off the Internet. Thanks, @Maschell
     
    Last edited by PeeJay Bonobo, May 18, 2019
  3. Uptightmario555

    Uptightmario555 Newbie

    Newcomer
    1
    Jan 25, 2016
    United States
    Currently trying to use my Switch Pro Controller, and the left stick is moving on it's own. I thought it was my controller, but I tested it out on the Switch and it works perfectly fine. Any way to fix this?

    Edit: Nvm, managed to fix it.
     
    Last edited by Uptightmario555, May 31, 2019
  4. ultrazonerc

    ultrazonerc Newbie

    Newcomer
    1
    Feb 20, 2017
    I realise how long ago this comment was but it helped me heaps so just wanted to say thank you!
     
  5. Regend

    Regend Newbie

    Newcomer
    1
    Jun 1, 2019
    Mexico
    Does anyone knows if i could navigate through the vpadtohid menu with the D-Pad of the pro controller or Wii mote? my gamepad broke so that's not an option
     
  6. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    i think you can. with a wiimote you can use the pointe ri believe. let me try and i will tell you
     
  7. Regend

    Regend Newbie

    Newcomer
    1
    Jun 1, 2019
    Mexico
    Did you managed to do it?
     
  8. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    im about to try it
     
  9. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    i use Dualshock 2 controller. i need to fix deadzone to 30% how do i do this?
     
  10. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    416ECCFB-8C59-4F3F-8ECE-10A3BC7C9597.
    — Posts automatically merged - Please don't double post! —

    yes

    — Posts automatically merged - Please don't double post! —

    what adapter are you using?
     
  11. emcintosh

    emcintosh Member

    Newcomer
    3
    Dec 4, 2016
    United Kingdom
    What was the solution? I’ve had a similar problem with any adapter that spoofs a Switch controller and assumed it was a problem with the console not sending the ‘connected’ signal to the controller to start registering inputs and interpreting the controller’s initial signal as stick movement.
     
  12. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    This one: https://i.imgur.com/tlKsTtM.jpg

    I connect PlayStation 2 (DualShock2) controller to it.

    On my PC, and in HID to VPAD on WiiU controller is seen as PlayStation 3 controller.
     
    Last edited by MetoMeto, Jun 2, 2019
  13. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    I dont understand why do i have so much of these... not sure what to look:


    //Thumbsticks
    VPad_L_Stick_X=0x03,0x80
    VPad_L_Stick_X_MinMax=0x00,0xFF
    VPad_L_Stick_X_Deadzone=0x0A
    //VPad_L_Stick_X_Deadzone=0x33
    VPad_L_Stick_X_Invert=False
    VPad_L_Stick_Y=0x04,0x80
    VPad_L_Stick_Y_MinMax=0x00,0xFF
    VPad_L_Stick_Y_Deadzone=0x0A
    //VPad_L_Stick_Y_Deadzone=0x24
    VPad_L_Stick_Y_Invert=True
    VPad_R_Stick_X=0x02,0x80
    VPad_R_Stick_X_MinMax=0x00,0xFF
    VPad_R_Stick_X_Deadzone=0x0A
    //VPad_R_Stick_X_Deadzone=0x24
    VPad_R_Stick_X_Invert=False
    VPad_R_Stick_Y=0x01,0x80
    VPad_R_Stick_Y_MinMax=0x00,0xFF
    VPad_R_Stick_Y_Deadzone=0x0A
    //VPad_R_Stick_Y_Deadzone=0x26
    VPad_R_Stick_Y_Invert=True
    PAD_COUNT=2

    Sorry, i thought post will be merged.
     
    Last edited by MetoMeto, Jun 2, 2019
  14. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    What is the stick you are trying to set the dead zone to?
     
  15. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    Both actually haha.

    If it means anything,
    On my pc in x360ce, on dolphin and other, i set up deadzone to 30% and it works great!

    Also in hid test i xant see anything but hid to vpad see it and it works, but deadzone is not good....to sensitive..30% would be nice though..
     
  16. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    in which directions are the sticks drifting towards?
     
    MetoMeto likes this.
  17. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    ah now...well...all 4 i think...
     
  18. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    how are they drifting in all 4 directions? could you show me a video of hidtovpad in which you connect the ds2 and the sticks drift on the profile?
     
    MetoMeto likes this.
  19. Narann

    Narann Newbie

    Newcomer
    1
    Jun 2, 2019
    France
    Hi and first: Thanks for the hard work !

    I reversed engineering the HID values of the cheap MIMD Controller Adapter for N-Switch/WII/PC USB (reference: mimd-422-1) and wanted to share:

    Code:
    //MIMD Controller Adapter for N-Switch/WII/PC USB (mimd-422-1)
    [vid=0x0079,pid=0x1846]
    
    PAD1_FILTER=0x00,0x04  // First, left plug is actually 0x04
    PAD2_FILTER=0x00,0x03
    PAD3_FILTER=0x00,0x02
    PAD4_FILTER=0x00,0x01
    
    VPAD_BUTTON_A               =   0x01,0x02  // GC A Button
    VPAD_BUTTON_B               =   0x01,0x04  // GC B Button
    VPAD_BUTTON_X               =   0x01,0x01  // GC X Button
    VPAD_BUTTON_Y               =   0x01,0x08  // GC Y Button
    
    VPAD_BUTTON_PLUS            =   0x02,0x02  // GC Start
    
    VPAD_BUTTON_L               =   0x01,0x10  // GC L pushed
    VPAD_BUTTON_R               =   0x01,0x20  // GC R pushed
    VPAD_BUTTON_ZR              =   0x01,0x80  // GC Z
    
    DPAD_MODE                   =   DPAD_HAT
    DPAD_MASK                   =   0xF0
    VPAD_BUTTON_DPAD_N          =   0x02,0x10
    VPAD_BUTTON_DPAD_NE         =   0x02,0x30
    VPAD_BUTTON_DPAD_E          =   0x02,0x20
    VPAD_BUTTON_DPAD_SE         =   0x02,0x60
    VPAD_BUTTON_DPAD_S          =   0x02,0x40
    VPAD_BUTTON_DPAD_SW         =   0x02,0xC0
    VPAD_BUTTON_DPAD_W          =   0x02,0x80
    VPAD_BUTTON_DPAD_NW         =   0x02,0x90
    VPAD_BUTTON_DPAD_Neutral    =   0x02,0x00
    
    // GC Thumbstick
    VPad_L_STICK_X=0x03,0x80
    VPad_L_STICK_X_MinMax=0x00,0xFF
    VPad_L_STICK_X_Invert=False
    
    VPad_L_STICK_Y=0x04,0x80
    VPad_L_STICK_Y_MinMax=0x00,0xFF
    VPad_L_STICK_Y_Invert=True
    
    // GC C-Stick
    VPad_R_STICK_X=0x06,0x80
    VPad_R_STICK_X_MinMax=0x00,0xFF
    VPad_R_STICK_X_Invert=True
    
    VPad_R_STICK_Y=0x05,0x80
    VPad_R_STICK_Y_MinMax=0x00,0xFF
    VPad_R_STICK_Y_Invert=False
    
    PAD_COUNT=4
    I played SSMB with that and everything work fine.

    I realize the MinMax values out of HID for GameCube sticks are never 0x00 - 0xFF but roughly 0x16 - 0xE6. Should I use those values in MinMax or let 0x00 - 0xFF ?

    In order to solve this problem properly, I wanted to check stick behavior and compare to original Wii U pad stick behavior so I need an app that "show me" the stick position (a point in a circle) so I can compare and adapte. I found HID_TEST but it doesn't show a point in a circle but simply raw values.

    I didn't find any rumble example to I couldn't find a way to enable rumble. maybe it's simply not supported.

    I also realize I need to have only needed config files in the wiiu/controller folder for HIDtoVPAD to detect my pads or detection simply don't work.

    A big thanks in advance for your answers. :)
     
  20. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    I'm trying it now.

    L stick is drifting to the Right, to sensitive to Up, Left, and i feel like its to sensitive to Down.
    R stick is drifting to the Left, Up, and its to sensitive to the Right.
     
    Last edited by MetoMeto, Jun 3, 2019
Quick Reply
Draft saved Draft deleted