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: 405
  • hs_err_pid1843.log.txt
    41.9 KB · Views: 472
  • hs_err_pid1888.log.txt
    41.9 KB · Views: 325
  • HIDTest-0.1-nightly-jar-with-dependencies.log(04.04.2017).txt
    1.4 KB · Views: 216

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,637
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,090
Trophies
2
XP
4,637
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,090
Trophies
2
XP
4,637
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,090
Trophies
2
XP
4,637
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: 485

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,637
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,090
Trophies
2
XP
4,637
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
  • S @ salazarcosplay:
    @BigOnYa there were relevant issues before south park was made, that's why i think a south park prequel/spinoff would be great. Randy and his friends in their child hood
    +1
  • BigOnYa @ BigOnYa:
    Yea, like them running in high school together, getting into stuff, and how they got hitched and had kids. And how the town of South Park was back then compared to now. That would be cool to see.
  • BakerMan @ BakerMan:
    yeah
  • The Real Jdbye @ The Real Jdbye:
    @salazarcosplay if they made a prequel, it would still be about current issues, cause it doesn't make sense to make it about stuff that happened 30 years ago that nobody cares about anymore
  • The Real Jdbye @ The Real Jdbye:
    it's too late
  • The Real Jdbye @ The Real Jdbye:
    the older south park episodes about particular issues usually age poorly since the topic is no longer relevant
  • The Real Jdbye @ The Real Jdbye:
    an exception is giant douche vs turd sandwich, that's always relevant :P
    +1
  • K3Nv2 @ K3Nv2:
    I was gone for like an hour and none of you thought to write or call pos
  • BigOnYa @ BigOnYa:
    We knew you were going to Sonic to get lunch.
  • K3Nv2 @ K3Nv2:
    Sonics fast I would've been home in 10 mins
  • BigOnYa @ BigOnYa:
    Meet and greet with AncientBoi then?
  • K3Nv2 @ K3Nv2:
    That would've gone slow he's old
    +1
  • ZeroT21 @ ZeroT21:
    sadly the person in question feels too young for his own good
  • K3Nv2 @ K3Nv2:
    We don't question people
  • ZeroT21 @ ZeroT21:
    me neither, i just bash them
  • K3Nv2 @ K3Nv2:
    We just question @AncientBoi
  • ZeroT21 @ ZeroT21:
    it wasn't a question, it was fact
  • BigOnYa @ BigOnYa:
    He said he had 3 different doctors apt this week, so he prob there. Something about gerbal extraction, I don't know.
    +1
  • ZeroT21 @ ZeroT21:
    bored, guess i'll spread more democracy
  • LeoTCK @ LeoTCK:
    @K3Nv2 one more time you say such bs to @BakerMan and I'll smack you across the whole planet
  • K3Nv2 @ K3Nv2:
    Make sure you smack my booty daddy
    +1
  • LeoTCK @ LeoTCK:
    telling him that my partner is luke...does he look like someone with such big ne
    eds?
  • LeoTCK @ LeoTCK:
    do you really think I could stand living with someone like luke?
  • LeoTCK @ LeoTCK:
    I suppose luke has "special needs" but he's not my partner, did you just say that to piss me off again?
    LeoTCK @ LeoTCK: I suppose luke has "special needs" but he's not my partner, did you just say that to piss me off...