Homebrew Official HID to VPAD

Wishi

Rareware Gamer
Member
Joined
Nov 24, 2015
Messages
219
Trophies
0
Age
27
XP
297
Country
Mexico
What do you mean?
The RetroArch Launcher is already installed here but since I haven't gotten my GC Controllers right now I can't test whether they work in RetroArch.
It doesn't matter if you have installed retroarch in the menu when you launch it is like if you launch Homebrew channel straight to retroarch so it's the same , you can't load hid to vpad and then Homebrew channel neither any Homebrew app installed in the menu because it will crash /:
 
  • Like
Reactions: lordelan

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,801
Trophies
1
Age
44
XP
6,570
Country
Germany
It doesn't matter if you have installed retroarch in the menu when you launch it is like if you launch Homebrew channel straight to retroarch so it's the same , you can't load hid to vpad and then Homebrew channel neither any Homebrew app installed in the menu because it will crash /:
Makes sense as the RetroArch launcher is just a forwarder.
Couldn't this be resolved by making an installable (full, not just forwarder) version of HID to VPAD like the HBL Channel that allocates its own memory instead of using Mii Maker's memory?
I ordered the adapter and a Smash GC controller today and wanna use it in RetroArch so badly. :D
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Is there a way to set the values for each half of an axis individually?
I'm trying to create a configuration file for the Thrustmaster Firestorm Dual Analog 3 and 4 but the axes are really weird...
The neutral (centre) value is 0x00 and the rightmost value is 0x7F, but the leftmost value is 0x80. From the left to the centre, values range from 0x80 to 0xFF, while from the centre to the right they range from 0x01 to 0x7F.
Nintendont required some patching, as you can see here: https://github.com/FIX94/Nintendont...dbd1abc#diff-55c1d4c0086bdc02658384f5f39ea5e7
Does HID to VPAD require some modifications as well?

Here is part of the configuration file so far (R-Y is different from the other axes):
Code:
VPAD_L_STICK_X=0x03,0x00
VPAD_L_STICK_X_DEADZONE=0x00
VPAD_L_STICK_X_INVERT=FALSE
VPAD_L_STICK_X_MINMAX=0x00,0xFF
VPAD_L_STICK_Y=0x04,0x00
VPAD_L_STICK_Y_DEADZONE=0x00
VPAD_L_STICK_Y_INVERT=FALSE
VPAD_L_STICK_Y_MINMAX=0x00,0xFF
VPAD_R_STICK_X=0x05,0x00
VPAD_R_STICK_X_DEADZONE=0x00
VPAD_R_STICK_X_INVERT=FALSE
VPAD_R_STICK_X_MINMAX=0x00,0xFF
VPAD_R_STICK_Y=0x06,0x80
VPAD_R_STICK_Y_DEADZONE=0x00
VPAD_R_STICK_Y_INVERT=TRUE
VPAD_R_STICK_Y_MINMAX=0x00,0xFF
 

Jarmarcus

Member
Newcomer
Joined
Jan 4, 2017
Messages
18
Trophies
0
Age
25
XP
62
Country
United States
I just spent some more time on trying to fix Runbow and Starwhal, but I had no success. I'm sorry =( . I already spent too much time into it, and have literally no idea why it's not working. I tried everything that came to my mind, but it's still missing something. The behaviour of the pro controller emulation in these games makes no sense at all :D

- The Sticks are working all the time
- The checking if a buttons is pressed (holded) is also working all the time
- Normal checking of a button doesn't work.
- Now the REALLY strange part: When I log the KPADReadEx function (or simply add a sleep for >3ms), pressing the button "works"..BUT...only every 3rd or 4th try you press the button...
- They all share the same struct, and the struct I'm creating has the extact same data as the real pro controller.

I'm may missing patching one more function, but it then it still doesn't make any sense, why it's working partially when I log/sleep in the function. Maybe a timing/sync problem?
Does anyone has a clue what might be wrong?

btw: For those who are not following me on twitter: Due the research of @shinyquagsire23 I'm now able connect and the use the pro controller via USB on the console. Currently there are still some problems (aka random crashing) while disconnecting the controller (I probably need to add some kind of synchronisation), but once I resolved it, I'll push the update! The update will also include native support for the Switch Controller so you don't need to worry about the config files because you don't need one ;)
It's all good fam. I was thankful for you fixing the adventure time game. Again you're a busy man so I'm glad you gave it a shot. Just keep doing you and hopefully you figure out what's going on with those games
 

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,091
Trophies
2
XP
4,655
Country
Germany
It's all good fam. I was thankful for you fixing the adventure time game. Again you're a busy man so I'm glad you gave it a shot. Just keep doing you and hopefully you figure out what's going on with those games

Waaaaaaaaaaaaaaaaaaaaaaaaaaahhh. I FINALLY found a solution. It quite changes (and also simplifies) how I patch the functions.
I need to clean up the code and test a bit more, it might break some games (I don't know yet). But I'm sooo happy that this is finally working!
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,801
Trophies
1
Age
44
XP
6,570
Country
Germany
Waaaaaaaaaaaaaaaaaaaaaaaaaaahhh. I FINALLY found a solution. It quite changes (and also simplifies) how I patch the functions.
I need to clean up the code and test a bit more, it might break some games (I don't know yet). But I'm sooo happy that this is finally working!
You're fantastic, Maschell! Congratulations!
 

Jarmarcus

Member
Newcomer
Joined
Jan 4, 2017
Messages
18
Trophies
0
Age
25
XP
62
Country
United States
Waaaaaaaaaaaaaaaaaaaaaaaaaaahhh. I FINALLY found a solution. It quite changes (and also simplifies) how I patch the functions.
I need to clean up the code and test a bit more, it might break some games (I don't know yet). But I'm sooo happy that this is finally working!
WOW that was quick!!! Congrats on conquering one of your challenges!!!
 

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,091
Trophies
2
XP
4,655
Country
Germany
I just pushed two updates for HID to VPAD.

https://github.com/Maschell/hid_to_vpad/releases/tag/HIDtoVPAD-v0.9h-nightly-9de3b8b

This will:
- add support for the Switch Pro Controller via USB
- and changed the pro controller emulation. This fixes these unity games, but may break something else.

It would be really cool, if some people can do some deep testing if everything is still working as expected. Different games and different controller setup (e.g. adapter with mutliple slots etc.). If you experience anything not working, please report it!
So far every game I tried worked, but you never know..

I also updated the wiki and added pages for the XInput and Switch Pro Controller configuration.
 

Enkuler

Well-Known Member
Newcomer
Joined
Jan 25, 2017
Messages
97
Trophies
0
XP
456
Country
France
I just pushed two updates for HID to VPAD.

https://github.com/Maschell/hid_to_vpad/releases/tag/HIDtoVPAD-v0.9h-nightly-9de3b8b

This will:
- add support for the Switch Pro Controller via USB
- and changed the pro controller emulation. This fixes these unity games, but may break something else.

It would be really cool, if some people can do some deep testing if everything is still working as expected. Different games and different controller setup (e.g. adapter with mutliple slots etc.). If you experience anything not working, please report it!
So far every game I tried worked, but you never know..

I also updated the wiki and added pages for the XInput and Switch Pro Controller configuration.

Yo, didn't test this out with the latest upstream and I don't even know if it is already documented somewhere but I have some weird discrepancies while using hid to vpad in conjunction with a GC adapter.
If my GC adapter is already plugged in and working when I "patch" so I can use my keyboard (with/without mouse) I have to unplug/replug the adapter or else it isn't recognised.

Maybe something having to do with overwriting the hid device tree ? I don't know how this stuff works ^^. Should I file an issue in the github page ?
 

Cliftin

Active Member
Newcomer
Joined
Dec 5, 2013
Messages
43
Trophies
0
Age
24
XP
141
Country
United States
I have a suggestion for a feature that shouldn't be too hard to implement, config swapping. I think the ability to swap in different configurations in the app would be pretty useful.
 
  • Like
Reactions: Maschell and nastys

JackVetti

New Member
Newbie
Joined
Apr 23, 2017
Messages
2
Trophies
0
Age
29
XP
54
Country
United States
Is anyone else having trouble using this while playing VC? If I have any controllers running HID to vPad, any Wii U VC will crash on start up. Anyone else experiencing this or have found a fix for it?
 
D

Deleted User

Guest
Is anyone else having trouble using this while playing VC? If I have any controllers running HID to vPad, any Wii U VC will crash on start up. Anyone else experiencing this or have found a fix for it?
I managed to once get AC:WW running with HIDtoVPAD but it froze after 5 minutes of gameplay.
So, no fix for that. for now.
 
  • Like
Reactions: JackVetti

WiinerMario

Active Member
Newcomer
Joined
Apr 7, 2014
Messages
30
Trophies
0
Age
31
XP
128
Country
My N64 VC use to freeze but with the latest nightlies all vc games I have tested are fine. For example tried mario kart 64 with 4 controllers in the gc adapter and they all worked fine.
 
  • Like
Reactions: JackVetti

EstPC13

Well-Known Member
Member
Joined
Jan 3, 2016
Messages
415
Trophies
0
Location
In your mind
XP
322
Country
Dominican Republic
Hi, is there any way the UI could be changed for this to be used without a gamepad? Or is there any way to replace the gamepad's input while it's off? Everytime the gamepad dies, the controller dies with it.
 

c4655362

Well-Known Member
Newcomer
Joined
Jan 19, 2014
Messages
68
Trophies
0
Age
37
XP
138
Country
United States
I tried the latest nightly and the version from the homebrew app store. All I get is a black screen on start up.
I only have a USB flash drive plugged in the back of my Wii U.
Any idea what may be causing it?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @K3Nv2, i only do that in the mornings