Homebrew Official HID to VPAD

DivineZeus

Well-Known Member
Member
Joined
Apr 19, 2008
Messages
308
Trophies
1
Age
47
Location
Rovigo, Veneto
XP
607
Country
Italy
Hi maschell, thank you for your hard work! This "little" piece of software is great... My switch pro controller pro works very well via usb, but if i emulate the wiiu gamepad the left stick is less sensible than in wiiu pro controller mode.
 
  • Like
Reactions: Maschell

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,650
Country
Germany
Hi maschell, thank you for your hard work! This "little" piece of software is great... My switch pro controller pro works very well via usb, but if i emulate the wiiu gamepad the left stick is less sensible than in wiiu pro controller mode.
I adjusted the value. Now the gamepad and pro controller emulation should be the same!

I released HIDtoVPAD 0.9i!

https://github.com/Maschell/hid_to_vpad/releases/tag/0.9i

Changelog:
- Adding more NULL checks before using pointer (fixes some crashes)
- Saving the callback addresses. A user can then trigger the callback manually using the TV button. (fix for e.g. Zelda TP)
- Increasing the thread-priority of the TCP/UDP server for some games. (Better performance in BOTW)
- Added rumble support for the network controller
- Changed network protocol version to version 3
- Added patches for WPADSetConnectCallback and WPADSetDataFormat
- Initial support for multiple languages (Currenty there is no option to set a language)
- Added language files for english and german
- Deleted not used resources
- Added an error message when a unsupported game is loaded (+ undoing the patches)
- Making the GC-Rumble work more reliable
- Added support for the Switch Pro Controller via USB
- Added pre defined values for the switch pro controller config file
- Using the sampling callback instead of patching the KPADRead(Ex) and KPADGetUnifiedWpadStatus function. This fixes the buttons pressed for unity games.
- Adjusted stick sensitivity for the pro controller emulation

Have fun! Please report any issues!
 

Kuranghi

New Member
Newbie
Joined
Apr 27, 2017
Messages
1
Trophies
0
Age
37
XP
52
Country
Maschell, thanks so much for your hard on this program, BotW is 1000% better with a DS4.

I had quick question I couldn't find an answer to in the wiki, I'm using my DS4 with HID to VPAD to emulate the Gamepad, I have no pro controller. Is there any advantage to emulating the Pro Controller over the Gamepad? Different stick sensitivities, etc.
 
  • Like
Reactions: Maschell

zeldaism

Well-Known Member
Member
Joined
Apr 19, 2016
Messages
844
Trophies
0
Age
26
XP
1,350
Country
United States
I adjusted the value. Now the gamepad and pro controller emulation should be the same!

I released HIDtoVPAD 0.9i!

https://github.com/Maschell/hid_to_vpad/releases/tag/0.9i

Changelog:
- Adding more NULL checks before using pointer (fixes some crashes)
- Saving the callback addresses. A user can then trigger the callback manually using the TV button. (fix for e.g. Zelda TP)
- Increasing the thread-priority of the TCP/UDP server for some games. (Better performance in BOTW)
- Added rumble support for the network controller
- Changed network protocol version to version 3
- Added patches for WPADSetConnectCallback and WPADSetDataFormat
- Initial support for multiple languages (Currenty there is no option to set a language)
- Added language files for english and german
- Deleted not used resources
- Added an error message when a unsupported game is loaded (+ undoing the patches)
- Making the GC-Rumble work more reliable
- Added support for the Switch Pro Controller via USB
- Added pre defined values for the switch pro controller config file
- Using the sampling callback instead of patching the KPADRead(Ex) and KPADGetUnifiedWpadStatus function. This fixes the buttons pressed for unity games.
- Adjusted stick sensitivity for the pro controller emulation

Have fun! Please report any issues!
Breath of the wild works so much better now! Thanks. :D
 
  • Like
Reactions: Maschell

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,650
Country
Germany
Maschell, thanks so much for your hard on this program, BotW is 1000% better with a DS4.

I had quick question I couldn't find an answer to in the wiki, I'm using my DS4 with HID to VPAD to emulate the Gamepad, I have no pro controller. Is there any advantage to emulating the Pro Controller over the Gamepad? Different stick sensitivities, etc.
No, should not make any differences.
 
  • Like
Reactions: Kuranghi

AkikoKumagara

The Coolest Bear Around
Member
Joined
Jan 4, 2017
Messages
1,538
Trophies
1
Website
thebearsden.web.fc2.com
XP
3,945
Country
United States

DivineZeus

Well-Known Member
Member
Joined
Apr 19, 2008
Messages
308
Trophies
1
Age
47
Location
Rovigo, Veneto
XP
607
Country
Italy
I adjusted the value. Now the gamepad and pro controller emulation should be the same!

I released HIDtoVPAD 0.9i!

https://github.com/Maschell/hid_to_vpad/releases/tag/0.9i

Changelog:
- Adding more NULL checks before using pointer (fixes some crashes)
- Saving the callback addresses. A user can then trigger the callback manually using the TV button. (fix for e.g. Zelda TP)
- Increasing the thread-priority of the TCP/UDP server for some games. (Better performance in BOTW)
- Added rumble support for the network controller
- Changed network protocol version to version 3
- Added patches for WPADSetConnectCallback and WPADSetDataFormat
- Initial support for multiple languages (Currenty there is no option to set a language)
- Added language files for english and german
- Deleted not used resources
- Added an error message when a unsupported game is loaded (+ undoing the patches)
- Making the GC-Rumble work more reliable
- Added support for the Switch Pro Controller via USB
- Added pre defined values for the switch pro controller config file
- Using the sampling callback instead of patching the KPADRead(Ex) and KPADGetUnifiedWpadStatus function. This fixes the buttons pressed for unity games.
- Adjusted stick sensitivity for the pro controller emulation

Have fun! Please report any issues!

That was fast! :) i just tried zelda botw with my switch pro controller (emulating gamepad) and in neutral position link goes down slowly... when i push up on the left stick he doesn't run as fast as he should, i would say about 2/3 of the max running speed.
 
Last edited by DivineZeus,

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,650
Country
Germany
That was fast! :) i just tried zelda botw with my switch pro controller (emulating gamepad) and in neutral position link goes down slowly... when i push up on the left stick he doesn't run as fast as he should, i would say about 2/3 of the max running speed.
Then you need to adjust the configuration file. Connect the controller via BT to your controller and run HIDTest to get the values
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,801
Trophies
1
Age
44
XP
6,570
Country
Germany
My girlfriend told me that my GameCube controller finally arrived today (never had a package take that long to deliver -.-).
As soon as I'm home I'm gonna test it with a few games! =)
 
  • Like
Reactions: Maschell

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,650
Country
Germany

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,820
Trophies
2
XP
7,861
Country
United Kingdom
@Maschell
Here's the log:

Code:
HID to VPAD Network Client

Running on WINDOWS
HID Backend: PureJavaHidManagerBackend
Currently Disconnected.
Not Reconnecting.

Currently attached controllers:

Filtering settings:
[true, false, false, true, true, true]

All HIDs:
PureJavaHidDevice [vid= 045E, pid= 02A1, path= \\?\hid#vid_045e&pid_02a1&ig_00#7&288bfe9e&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}, usage= 0001:0000, data=[]]
PureJavaHidDevice [vid= 0000, pid= 0000, path= \\?\hid#atk4002#3&34245a86&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}, usage= 0001:0000, data=[]]
 
Last edited by ploggy,

DivineZeus

Well-Known Member
Member
Joined
Apr 19, 2008
Messages
308
Trophies
1
Age
47
Location
Rovigo, Veneto
XP
607
Country
Italy
Then you need to adjust the configuration file. Connect the controller via BT to your controller and run HIDTest to get the values

I see... i downloaded hid_test-master i added the folder to my sd card but i can't find a way to launch it with homebrew launcher... what am i doing wrong? sorry for my dumbness, but i forgot how to deal with my modded wiiu... :(
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,801
Trophies
1
Age
44
XP
6,570
Country
Germany
My girlfriend told me that my GameCube controller finally arrived today (never had a package take that long to deliver -.-).
As soon as I'm home I'm gonna test it with a few games! =)
@Maschell tested the GC Controller with three games for a few minutes.
First of all: Sh*t, I really did not remember there's no ZL and ZR, that sucks for Zelda. :(
But it's the f*cking best controller for Mario Kart 8. I was so glad that even rumble works. You're genius.
I tried:
  • Mario Kart 8 (works just fine)
  • Super Mario 3D World (works great but button mapping seems unfamiliar)
  • The Legend of Zelda: Breath of the Wild (works great except for missing GC Controller buttons and button mapping seems unfamiliar)
Of course these are games that everyone (you included) have tested already.
I'll report back once I tested more (and maybe some uncommon) games but great work so far.
Only thing that annoys me is the button mapping for some games. Due to the fact that buttons are arranged "strangely" on the GC Controller, it's not your fault and it wouldn't be a solution to change the default mapping for the controller but (and I don't know whether this has already been discussed here) per game.
If I could use different button mappings for different games, that'd be great.
Is there any way your app can detect the game I'm playing?
 

victormr21

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
565
Trophies
0
XP
498
Country
Last edited by victormr21,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu