Homebrew HID To VPAD Network Client

Matt1290

New Member
Newbie
Joined
Apr 4, 2017
Messages
1
Trophies
0
Age
33
XP
52
Country
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
 
  • Like
Reactions: SlimPortable

GroverCleveland

Member
Newcomer
Joined
Nov 11, 2016
Messages
7
Trophies
0
Age
36
XP
69
Country
United States
@GroverCleveland
Today I worked on the "multiple controllers" on OSX thing. I only tried it inside a Virtual Machine (Yep, I set this up, only for you :D) with only one controller, but it should work.
Can you test it with the newest nightly of the networkclient and newest nightly of HID to VPAD?
Auto detecting the controller on OSX is not possible, so it's only checking at startup for connected controllers.
If you want to refresh that list (after attaching/removing a new controller) use the "scan for controller" button. When you click this button, all controller will reconnect to your console, but it should work.

PS: For me the data of the new DS4 was different, it had one extra byte at the beginning. I added a special case to remove that byte on OSX, hopefully this was a general issue which applies to all OSX user and I didn't break stuff.

(@QuarkTheAwesome)

@lordelan
Quark is mostly doing the Linux/OSX part. It should work, but I don't have an idea if you have do something special before. Thats why I added the "TODO".
Running this on a raspberry pi actually a really cool idea, but I guess for this we would also need some kind of command line interface for connecting/disconnecting.

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!!!
 

Attachments

  • hs_err_pid1834.log.txt
    42.2 KB · Views: 413
  • hs_err_pid1843.log.txt
    41.9 KB · Views: 480
  • hs_err_pid1888.log.txt
    41.9 KB · Views: 331
  • HIDTest-0.1-nightly-jar-with-dependencies.log(04.04.2017).txt
    1.4 KB · Views: 222

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,097
Trophies
2
XP
4,739
Country
Germany
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)
 

GroverCleveland

Member
Newcomer
Joined
Nov 11, 2016
Messages
7
Trophies
0
Age
36
XP
69
Country
United States
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)

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.
 

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,097
Trophies
2
XP
4,739
Country
Germany
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.
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.
 

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,097
Trophies
2
XP
4,739
Country
Germany
the network client it says that there is no config file on the console.
But now it says there's not configuration for the controllers on the console
It says "No Configuration for this controller found on the console" but I do have them both. xinput.ini and switchpro.ini.
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?
 

SlimPortable

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
275
Trophies
0
Age
28
XP
159
Country
United States
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?
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.
 

GroverCleveland

Member
Newcomer
Joined
Nov 11, 2016
Messages
7
Trophies
0
Age
36
XP
69
Country
United States
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.


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!
 

baldman

Member
Newcomer
Joined
Apr 8, 2017
Messages
10
Trophies
0
Age
35
XP
177
Country
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
 

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,097
Trophies
2
XP
4,739
Country
Germany
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.
 
  • Like
Reactions: lordelan

Xolono

Member
Newcomer
Joined
Apr 11, 2017
Messages
21
Trophies
0
Age
25
XP
244
Country
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?
 

yasushi

Member
Newcomer
Joined
Mar 31, 2017
Messages
8
Trophies
0
Age
50
XP
143
Country
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.
 
  • Like
Reactions: Maschell

cirojr82

Member
Newcomer
Joined
Apr 12, 2017
Messages
16
Trophies
0
Age
42
XP
121
Country
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!
 

justinleblanc

New Member
Newbie
Joined
Apr 12, 2017
Messages
2
Trophies
0
Age
34
XP
51
Country
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!
 

Attachments

  • 2017-04-12.png
    2017-04-12.png
    83.3 KB · Views: 489

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,097
Trophies
2
XP
4,739
Country
Germany
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!
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
 

yasushi

Member
Newcomer
Joined
Mar 31, 2017
Messages
8
Trophies
0
Age
50
XP
143
Country
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
 

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,097
Trophies
2
XP
4,739
Country
Germany
@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
 
  • Like
Reactions: lordelan

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    first of all, i don't watch those kinds of videos, and if i did i'd pull a verbalase 50k but with wizards and wario
    +1
  • BakerMan @ BakerMan:
    second of all, i don't even have a 3ds
  • BigOnYa @ BigOnYa:
    OnlyWizard&WarioFans.com
    +2
  • BakerMan @ BakerMan:
    i just want a wizard to stick his wand (whether literal or figurative is up to interpretation, either way it's either freaky or sus, or both i guess) up my ass
  • BigOnYa @ BigOnYa:
    I'm making Texas sheet cake for first time today, my Nieghbor brought us some few weeks ago and damn that's good, so I got her recipe and gonna try it today.
  • BakerMan @ BakerMan:
    mmm, sounds good
  • BigOnYa @ BigOnYa:
    Its not a brownie, and its not a cake, so what is it- Texas sheet cake.
  • BigOnYa @ BigOnYa:
    I tried making chocolate lava cakes the other day in cupcake pan, what a mess, my lava exploded out of the cakes everywhere while baking, was still ok tho, just no lava inside.
  • BigOnYa @ BigOnYa:
    We had our grandkids over yesterday and I got a small above ground swimming pool I filled for them to play in. Well today I woke to find 3 ducks swimming around in it. Don't mind really but they are annoyingly loud, quack quack. Gotta drain it today. Guess what were having for dinner, lol.
    +1
  • BakerMan @ BakerMan:
    lol
  • AncientBoi @ AncientBoi:
    BBQ'd 🦆
    +1
  • BakerMan @ BakerMan:
    also i'm sorry your molten lava cakes failed
    +2
  • BakerMan @ BakerMan:
    just looked up a pic of texas sheet cake, and it looks delicious
    +1
  • AncientBoi @ AncientBoi:
    🌋 Science Project?
  • BakerMan @ BakerMan:
    i think i might need to try making lava cakes for the 4th of july fr
    +2
  • BigOnYa @ BigOnYa:
    I used butter instead of vegetable oil, and think that's why they squirted out during baking, who knows
  • BakerMan @ BakerMan:
    yeah i think oil is the right call
    +1
  • BakerMan @ BakerMan:
    plus if you're making brownies or lava cakes for people with dairy allergies, you should use oil instead of butter anyway
    +2
  • ZeroT21 @ ZeroT21:
    @BakerMan Make me a space cake plz
  • BigOnYa @ BigOnYa:
    I make rum cake for 4th July every year, I make it a week prior and then soak it in rum in the fridge all week. I flip the cake each day, and add little more rum, it soaks it up everyday, so good.
    +2
  • BakerMan @ BakerMan:
    sorry, idk what you mean by a space cake, and even if i did, i'm not really taking requests right now, because otherwise people will get mad at me for taking a request but not making a birthday cake for @Xdqwerty (i'm sorry for that btw bro)
  • ZeroT21 @ ZeroT21:
    @BakerMan lies, you just want to smoke it

    :rofl2:
  • ZeroT21 @ ZeroT21:
    Guess all the food in my fridge can knock out a cow or two
    ZeroT21 @ ZeroT21: Guess all the food in my fridge can knock out a cow or two