HID To VPAD Network Client

Discussion in 'Wii U - Homebrew' started by Maschell, Mar 30, 2017.

  1. SlimPortable

    SlimPortable GBAtemp Regular

    Member
    241
    44
    Aug 18, 2015
    United States
    ^I just tried that Network Client nightly on OS X Yosemite 10.10.5 and it crashes when scanning for controllers. Using Xbox One controller through USB cord. This error log then showed up in the folder where the client was stored. https://pastebin.com/XHDJExMP
     
    Last edited by SlimPortable, Apr 3, 2017


  2. Matt1290

    Matt1290 Newbie

    Newcomer
    1
    1
    Apr 4, 2017
    United States
    I have installed both the client and server (on the WiiU).

    I have downloaded the Config files and put them into /sd/wiiu/controller

    I have downloaded the Stable hidtovpad to /sd/wiiu/apps

    I can load into HID to VPAD and the client launches on my desktop.

    Xbox360 wired controller works when playing games but my Switch Pro Controller doesn't.

    It says "No Configuration for this controller found on the console" but I do have them both. xinput.ini and switchpro.ini.

    Here is a screenshot of everything. Whats going on? What do I do?

    (I also tried updating both to nightly builds and got the same error)

    https://gyazo.com/e242432a23b5e5e39108ec039c993c1f
     
    SlimPortable likes this.
  3. GroverCleveland

    GroverCleveland Newbie

    Newcomer
    6
    0
    Nov 11, 2016
    United States
    Damn @Maschell you're the man for going through all those hoops for little ole' me :blush:. I really appreciate the effort you're putting in and can't thank you enough!

    I ran some tests with the nightly builds you linked to and was unable to get the HIDTest-0.1-nightly-jar-with-dependencies.jar file to run at all however I could get the HIDToVPADNetworkClient-0.2-nightly-jar-with-dependencies.jar file to run although I couldn't successfully connect a controller. I tried using 1 and 2 controllers but unfortunately any time I tried to use the 'Scan for Controllers' button the application quit and left me with some log files.

    I've attached the log files for both jar's so please let me know if you'd like any additional info or testing from me and I'll get to it as soon as I possibly can. Thanks again for all the work you're putting in!!!
     

    Attached Files:

  4. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    860
    1,225
    Jun 14, 2008
    Gambia, The
    Looks like it has some problem with the HID Library...
    Maybe I can make a test-build with hid4java and we can see if this solves the problem. (I don't know when I have time again for coding though, probably this weekend)
     
  5. GroverCleveland

    GroverCleveland Newbie

    Newcomer
    6
    0
    Nov 11, 2016
    United States
    That's what I was thinking too. I had a feeling that VM's would handle PID and/or I/O inputs differently than a real machine but had no issues giving it a shot. Just let me know what else you need/want me to do and I'll get it done.
     
  6. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    860
    1,225
    Jun 14, 2008
    Gambia, The
    I'm bad at taking a break.... :'D
    https://github.com/QuarkTheAwesome/HIDtoVPADNetworkClient/releases/tag/v0.2-nightly-857c5d3

    Can you try this nightly? Now it's using a complety different backend on OSX. Worked for me on my VM with the new DS4 pad connected via USB. Even auto scanning and HIDTest should work now.
     
    lordelan and CreeperMario like this.
  7. GroverCleveland

    GroverCleveland Newbie

    Newcomer
    6
    0
    Nov 11, 2016
    United States
    Absolutely, I'm havin a drink after work right now but I'll try it out as soon as I get home and I'll report back.
     
  8. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    860
    1,225
    Jun 14, 2008
    Gambia, The
    Is it possible that you all loaded the homebrew launcher through the browser?
    Can you try the newest HIDtoVPAD nightly AND the newest nightly of the network client?
     
  9. SlimPortable

    SlimPortable GBAtemp Regular

    Member
    241
    44
    Aug 18, 2015
    United States
    I run the homebrew launcher through Haxchi. Just tried those new nightly builds and the Network Client can detect when a controller is connected to it nicely now on OSX! Unfortunately, it's still giving me a config not found on console error.
     
  10. GroverCleveland

    GroverCleveland Newbie

    Newcomer
    6
    0
    Nov 11, 2016
    United States

    Sorry one drink turned to several and I never got to testing last night but I just tested it out right now briefly and found that it's now picking up 4 DS4's at once and running pretty smoothly. I've found some odd behavior like disconnecting and the inability for the network client to connect due to the config missing on the console (it was there) but but don't have time to reproduce at the moment. I'll poke around more this weekend and report back any other issues I find with steps to reproduce. Thanks again for all the work, I really can't tell you how appreciative I am for it!
     
  11. baldman

    baldman Newbie

    Newcomer
    3
    0
    Apr 8, 2017
    Hello, I have a Windows 10 x64 Updated PC with lastest Java updated and vcredist installed...I uninstalled both java and vcredist x86 and x64, reboot PC and installed everything another time.
    My problem is not solved. I tried with every nightly build and with the stable build: It doesn´t detect my controllers: I tried with Xbox 360 USB controller and with Xbox One S controller by bluetooth and also with the USB cable.
    I prefer to use the xbox one S controller by bluetooth, but i've tested if the problem was the bluetooth connection (my PC recongnised both controllers and i can play PC Games with it)

    You can see in the image all the windows opened to see that everything is installed correctly and the controllers are not found by the program.
    Do you have any idea to solve it?


    Thanks a lot

    ERROR HID TO VPAD NETWORK.jpg
     
  12. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    860
    1,225
    Jun 14, 2008
    Gambia, The
    HID To VPAD Network Client v0.3

    Changelog:
    - Code refactoring
    - Updated the JNA version to support more OS
    - Added a simple HIDTest tool (similar to the WiiU one) to display the input data.
    - Skip Xbox pads when scanning for HID-Devices on windows. (We have XInput)
    - Added option or auto-scanning for controller (+ added option to scan manually)
    - Implemented support for multiple HID-Libraries. This fixed OSX support because we're now using hid4hava on OSX and Linux.
    - Updated the TCP Handshake to also negotiate a protocol version.
    - Serveral small improvement, tweaks and bug fixes

    Download: https://github.com/QuarkTheAwesome/HIDtoVPADNetworkClient/releases/tag/v0.3

    You'll need the new HIDtoVPAD version 0.9h to use this client.

    I also added a small HIDTest-App, similar to the WiiU one, to see your inputs of your connected controller.
     
    lordelan likes this.
  13. Xolono

    Xolono Newbie

    Newcomer
    1
    0
    Apr 11, 2017
    For some reason it doesn't work on my PC. Once I connect the program to the wii u it freezes, so I can't tick the boxes I want. Any ideas?
     
  14. yasushi

    yasushi Newbie

    Newcomer
    8
    1
    Mar 31, 2017
    When dualshock3 is connected in HIDToVPADNetworkClient-0.3, it freezes in HIDToVPAD_v0.9h.

    A controller of a PC was recognized to v0.2-nightly-79f4d73.
    v0.2-nightly-25e8bc6, after, dualshock doesn't recognize anything but 3 from a PC.
    dualshock doesn't show anything but 3 to a list.
     
    Maschell likes this.
  15. cirojr82

    cirojr82 Newbie

    Newcomer
    4
    1
    Apr 12, 2017
    Brazil
    Hi guys,

    A newbie question. My computer is in another room differente from where the WIIU is.

    Do I need the computer to be near the WII U console in order the controller comands to be read, or just in the same Network is ok?

    Thanks!
     
  16. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    860
    1,225
    Jun 14, 2008
    Gambia, The
    The same network is enough.
    @yasushi I'll take at look at it
     
  17. justinleblanc

    justinleblanc Newbie

    Newcomer
    2
    0
    Apr 12, 2017
    Canada
    I'm unable to get the network client to connect to my Wii U. I've attached a screenshot of what is happening. Any help at all would be greatly appreciated!
     

    Attached Files:

  18. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    860
    1,225
    Jun 14, 2008
    Gambia, The
    Which version of HIDtoVPAD/Network Client are you using? Looks like your network client version is outdated but yourusing the newest hid to vpad version
     
  19. yasushi

    yasushi Newbie

    Newcomer
    8
    1
    Mar 31, 2017
    Thank you very much for your correspondence.
    When DUALSHOCK3 is connected in HIDToVPADNetworkClient.
    It'll be in the state input to not touching.

    When next it's a different controller, but it's used by the next setting by a USB connection.
    When I move, but it's connected in HIDToVPADNetworkClient.
    It'll be in the state input to not touching.

    //MAYFLASH SNES CONTROLLER ADAPTER
    [vid=0x0e8f,pid=0x3013]

    //Using Port 1 (Right slot)
    INPUT_FILTER = 0x00,0x01

    //DPad
    DPAD_MODE = DPAD_Absolute_2Values
    VPAD_BUTTON_DPAD_ABS_UP = 0x04,0x00
    VPAD_BUTTON_DPAD_ABS_DOWN = 0x04,0xFF
    VPAD_BUTTON_DPAD_ABS_LEFT = 0x03,0x00
    VPAD_BUTTON_DPAD_ABS_RIGHT = 0x03,0xFF
    VPAD_BUTTON_DPAD_Neutral = 0x03,0x80
    VPAD_BUTTON_DPAD_Neutral = 0x04,0x80

    //Buttons
    VPAD_BUTTON_A = 0x05,0x20
    VPAD_BUTTON_B = 0x05,0x40
    VPAD_BUTTON_X = 0x05,0x10
    VPAD_BUTTON_Y = 0x05,0x80
    VPAD_BUTTON_PLUS = 0x06,0x20
    VPAD_BUTTON_MINUS = 0x06,0x10
    VPAD_BUTTON_L = 0x06,0x04
    VPAD_BUTTON_R = 0x06,0x08
    VPad_Button_Home = 0x06,0x30
     
  20. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    860
    1,225
    Jun 14, 2008
    Gambia, The
    @yasushi
    I'm sorry, I can't understand what you me. Can you try to rephrase it?

    ---

    Today I worked on getting rumble support for the Network controller working, and got it working for XInput devices. If you want to test it, use the newest nightlies:

    https://github.com/Maschell/hid_to_vpad/releases/tag/HIDtoVPAD-v0.9h-nightly-8391746
    https://github.com/QuarkTheAwesome/HIDtoVPADNetworkClient/releases/tag/v0.3-nightly-70b5da2

    PS: you can also map for example the DS4 to XInput using tools like this and have rumble support
     
    lordelan likes this.