Homebrew Official HID to VPAD

cots

Banned!
Banned
Joined
Dec 29, 2014
Messages
1,533
Trophies
0
XP
1,952
Country
United States
I wouldn't mind, but I can't view your profile, hence I cannot see your previous posts.

Here is the image with the values. I'm lost at how to convert the values.

Key = Gamepad Key
POS = Position via hidtest
Static = unpressed state
Value = pressed state
 
Last edited by cots,

ayanekochan

Well-Known Member
Member
Joined
Aug 6, 2015
Messages
202
Trophies
0
Age
64
XP
133
Country
United States
I may have. I used this config file. Or you can just copy the code. Mine is named DS3.ini as you see it. It will still say that no config file was found when loading the tool, so just press A on the gamepad. Also, be sure to name it correctly. DS3.ini
[vid=0x054c,pid=0x0268]
[IgnoreDefault]

[gamepad]
VPAD_BUTTON_A = DS3_BUTTON_CIRCLE
VPAD_BUTTON_B = DS3_BUTTON_CROSS
VPAD_BUTTON_X = DS3_BUTTON_TRIANGLE
VPAD_BUTTON_Y = DS3_BUTTON_SQUARE
VPAD_BUTTON_MINUS = DS3_BUTTON_SELECT
VPAD_BUTTON_PLUS = DS3_BUTTON_START

//VPAD_BUTTON_HOME = DS3_BUTTON_GUIDE

VPAD_BUTTON_STICK_L = DS3_BUTTON_L3
VPAD_BUTTON_STICK_R = DS3_BUTTON_R3

DPAD_MODE = DS3_DPAD_MODE
VPAD_BUTTON_LEFT = DS3_BUTTON_LEFT
VPAD_BUTTON_RIGHT = DS3_BUTTON_RIGHT
VPAD_BUTTON_UP = DS3_BUTTON_UP
VPAD_BUTTON_DOWN = DS3_BUTTON_DOWN

VPAD_L_STICK_X = DS3_STICK_L_X
VPad_L_Stick_X_MinMax = 0x00,0xFF
VPad_L_Stick_X_Deadzone = 0x06
VPAD_L_STICK_Y = DS3_STICK_L_Y
VPad_L_Stick_Y_MinMax = 0x00,0xFF
VPad_L_Stick_Y_Deadzone = 0x06
VPAD_R_STICK_X = DS3_STICK_R_X
VPad_R_Stick_X_MinMax = 0x00,0xFF
VPad_R_Stick_X_Deadzone = 0x06
VPAD_R_STICK_Y = DS3_STICK_R_Y
VPad_R_Stick_Y_MinMax = 0x00,0xFF
VPad_R_Stick_Y_Deadzone = 0x06

VPAD_BUTTON_L = DS3_BUTTON_L1
VPAD_BUTTON_ZL = DS3_BUTTON_L2
VPAD_BUTTON_R = DS3_BUTTON_R1
VPAD_BUTTON_ZR = DS3_BUTTON_R2

PAD_COUNT = 0x01

Oh I'm supposed to have the [gamepad] tag too? That might be why mine didn't work. Will try this! Thanks!
 

KAWORU

New Member
Newbie
Joined
Mar 10, 2017
Messages
1
Trophies
0
Age
36
XP
51
Country
United States
I've been trying to get this working on my Wii U over the past 24 hours and can't seem to figure it out. At one point I had my GCN pad working on BoTW, then tried it with my DS4 pad but never got it to work. Now I'm stuck and niether controller will respond at all.

Followed instructions but I must be doing something wrong. From my understanding, I only need HBL and the hidtovpad.elf on a correctly formatted SD to run the exploit through my browser (loadiine.ovh/550/HBLK).

Am I missing something? Do I need to install CFW or anything on my Wii U to use HID to VPAD?

Any help would be much appreciated.

EDIT: got my GCN pad working with Mocha CFW, still no DS4 functionality though.
 
Last edited by KAWORU,

ayanekochan

Well-Known Member
Member
Joined
Aug 6, 2015
Messages
202
Trophies
0
Age
64
XP
133
Country
United States
I've been trying to get this working on my Wii U over the past 24 hours and can't seem to figure it out. At one point I had my GCN pad working on BoTW, then tried it with my DS4 pad but never got it to work. Now I'm stuck and niether controller will respond at all.

Followed instructions but I must be doing something wrong. From my understanding, I only need HBL and the hidtovpad.elf on a correctly formatted SD to run the exploit through my browser (loadiine.ovh/550/HBLK).

Am I missing something? Do I need to install CFW or anything on my Wii U to use HID to VPAD?

Any help would be much appreciated.

EDIT: got my GCN pad working with Mocha CFW, still no DS4 functionality though.

For me I've got my old ds4 to work without any cfw requirements, just homebrew. From looking at the thread it seems like the new ds4 isn't working for a lot of people, so if you've got one of those you're out of luck.
 

gusbirr

New Member
Newbie
Joined
Mar 11, 2017
Messages
2
Trophies
0
Age
30
XP
51
Country
Brazil
Anyone have issues files or config files for ps3 controller? Please send me. I can not do the analog work. anyone help me?
 

b0rd2dEAth

Active Member
Newcomer
Joined
Apr 12, 2016
Messages
26
Trophies
0
Age
32
XP
109
Country
United States
Anyone have issues files or config files for ps3 controller? Please send me. I can not do the analog work. anyone help me?

Have you tried using version v0.2e? I got the DS3 controller working perfectly on my Wii U without any config file (v0.2 doesn't use config files)... It's weird but whenever I try using v0.9+ it just gives me a black screen. Still can't figure out why. :/
 
Last edited by b0rd2dEAth,

Alchemist_Koen

Member
Newcomer
Joined
Aug 14, 2009
Messages
6
Trophies
0
XP
165
Country
Netherlands
I've seen several user report a problem with the L stick controls on their DualShock 3 controller.
I had the same problem myself where the Y-axis of the left stick would be mapped to the X-axis on the VPAD. Everything else was working fine.

Use these lines to make a .ini file and the problem should be solved.

[vid=0x054c,pid=0x0268]
//This is a fix for the DualShock 3 controller if you only have trouble with the left analogue stick.


//Thumbsticks
VPad_L_Stick_X = 0x06,0x80
VPad_L_Stick_X_MinMax = 0x00,0xFF
VPad_L_Stick_X_Deadzone = 0x06
VPad_L_Stick_X_Invert = False

VPad_L_Stick_Y = 0x07,0x80
VPad_L_Stick_Y_MinMax = 0x00,0xFF
VPad_L_Stick_Y_Deadzone = 0x06
VPad_L_Stick_Y_Invert = True

I'm not sure why this works, because the default values implemented in the HID_to_VPAD app are the same as the ones I'm using.
But this fixes the problem for me.

Let me know if it works for you as well.
 

Arkade789

New Member
Newbie
Joined
Mar 10, 2017
Messages
4
Trophies
0
Age
29
XP
41
Country
United States
What are the input values for the sticks if I were to map VPAD_BUTTON_"direction" to say the left stick? I've been trying to use the values from the keyboard section of the wiki but results are coming up nil.

[gamepad]

VPAD_BUTTON_LEFT=VPAD_L_STICK_LEFT
VPAD_BUTTON_RIGHT=VPAD_L_STICK_RIGHT
VPAD_BUTTON_UP=VPAD_L_STICK_UP
VPAD_BUTTON_DOWN=VPAD_L_STICK_DOWN

VPAD_L_STICK_UP=VPAD_BUTTON_UP
VPAD_L_STICK_DOWN=VPAD_BUTTON_DOWN
VPAD_L_STICK_LEFT=VPAD_BUTTON_LEFT
VPAD_L_STICK_RIGHT=VPAD_BUTTON_RIGHT
 
Last edited by Arkade789,

Arkade789

New Member
Newbie
Joined
Mar 10, 2017
Messages
4
Trophies
0
Age
29
XP
41
Country
United States
Thats currently not possible
If that's the case, then is there such a thing as HID to Wiimote, or if there are any plans on creating such a thing?

On a side note, any way to set analog stick configs besides setting a minmax value? This could solve my problem if each direction of an analog stick is set to a specific bit value as opposed to a range of values. Or maybe even setting specific deadzone (quantized) values as opposed to ranges?
 
Last edited by Arkade789,

FunThomas

Well-Known Member
Member
Joined
Jan 10, 2016
Messages
652
Trophies
0
XP
2,016
Country
Gambia, The
Are you going to help me with the values I posted? I'm still lost on how to convert them to what's needed.

when looking at your post there are some easy things and one maybe fault

for the button A it is sure to be 0x20 in the 5th byte

but when you know binary and hex counting system
something is wrong with LEFT key 0x06 -> is like pressing down and right together -> this has to be checked
maybe its a 0x08 since the other states are already used

you have only to look which bit/nibble has changed from unpressed to pressed state

your values look good and for converting you only have to calculate the 0x08 out of A-Y
so A= 0x20, B=0x40, X=0x80, Y=0x10

all the others take from value on your paper

read the wiki and try to understand what you are doing
 

cots

Banned!
Banned
Joined
Dec 29, 2014
Messages
1,533
Trophies
0
XP
1,952
Country
United States
read the wiki and try to understand what you are doing

I did read the wiki, but I'm still not sure how to apply the OR mask. I'm guessing from what you told me that you take the unpressed state value and subtract it from the pressed value state. Though, that wouldn't explain the dpad as I kept the original pressed values and it works.

Yep, that's right. With help from @Arkade789 and yourself I can now control my Wii U with a Logitech F710 Wireless Gamepad! This is totally awesome!
 

victormr21

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
565
Trophies
0
XP
498
Country
Hi @Maschell ! I have a question:
I'm doing a config file for a F1 PS2 Wheel to play with it on MK8 like the video you shared some weeks ago
But I want to use the gyroscope no the sticks. How Can I do it?
Because I think that if you turn the wheel to a side any value changes (I don't check it) so if I want to replace it to Left stick...
Bye!
PD: If I get it working I will publish it on your GitHub repo of course xD
 

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,648
Country
Germany
You are repeating your question?!?!
I don't have the "F1 PS2 Wheel" and I don't know how the data looks like. Execute the HIDTest and read the wiki to create a proper ini. I can't provide any further help without haven either the data nor the device, sorry.
 

victormr21

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
565
Trophies
0
XP
498
Country
You are repeating your question?!?!
I don't have the "F1 PS2 Wheel" and I don't know how the data looks like. Execute the HIDTest and read the wiki to create a proper ini. I can't provide any further help without haven either the data nor the device, sorry.
Yes, sorry but like other people
Its a wheel (the thing you use to turn to right or left your car), i don't want specific info, i only want to know that i want to use the gyroscope data instead the sticks one but if i spin/turn to one side the wheel no one byte changes only if i move the stick
bye!
 

FunThomas

Well-Known Member
Member
Joined
Jan 10, 2016
Messages
652
Trophies
0
XP
2,016
Country
Gambia, The
Yes, sorry but like other people
Its a wheel (the thing you use to turn to right or left your car), i don't want specific info, i only want to know that i want to use the gyroscope data instead the sticks one but if i spin/turn to one side the wheel no one byte changes only if i move the stick
bye!

if no byte changes when you move the steering wheel then you cant use as input controller

HIDtoVPAD is "only" converter/mapper of given data from HID-device to another controller
If there is no input from HID-Device you cant use it to control something

it would help if you could give information what data you get when you move the controller (gyro) for a specific direction
if it looks like a analog stick maybe it could be mapped but if we dont have the controller we cant say

its your turn now to describe or better try to map the data to a anlog stick and check if its working
 
Last edited by FunThomas,
  • Like
Reactions: victormr21

victormr21

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
565
Trophies
0
XP
498
Country
if no byte changes when you move the steering wheel then you cant use as input controller

HIDtoVPAD is "only" converter/mapper of given data from HID-device to another controller
If there is no input from HID-Device you cant use it to control something

it would help if you could give information what data you get when you move the controller (gyro) for a specific direction
if it looks like a analog stick maybe it could be mapped but if we dont have the controller we cant say

its your turn now to describe or better try to map the data to a anlog stick and check if its working
Thanks you a lot Thomas,
At the moment i don't have the device to check it, this is the reason why i asked, for get info until i have the device.
I will give info about all when i will have it, maybe if i move the controller for a side some byte changes, i also asked if is possible that if i move it no one byte changes
Bye!
 
D

Deleted-379826

Guest
Can someone help me get my DS4 working? I have the proper config file in the proper directory and I know this because it always says that it found and loaded a valid config. Then it boots me back to (mocha patched) home menu and the DS4 does nothing. It also is getting power because the lightbar is orange!
EDIT:
[vid=0x054c,pid=0x05c4]
[IgnoreDefault] //Ignoring the built in default values

//Settings buttons
VPAD_BUTTON_A = DS4_BUTTON_CIRCLE
VPAD_BUTTON_B = DS4_BUTTON_CROSS
VPAD_BUTTON_X = DS4_BUTTON_TRIANGLE
VPAD_BUTTON_Y = DS4_BUTTON_SQUARE
VPAD_BUTTON_MINUS = DS4_BUTTON_SELECT
VPAD_BUTTON_PLUS = DS4_BUTTON_START

VPAD_BUTTON_STICK_L = DS4_BUTTON_L3
VPAD_BUTTON_STICK_R = DS4_BUTTON_R3

//Setting dpad
DPAD_MODE = DS4_DPAD_MODE
VPAD_BUTTON_LEFT = DS4_BUTTON_LEFT
VPAD_BUTTON_RIGHT = DS4_BUTTON_RIGHT
VPAD_BUTTON_UP = DS4_BUTTON_UP
VPAD_BUTTON_DOWN = DS4_BUTTON_DOWN

//Setting the sticks
VPAD_BUTTON_L_STICK_X = DS4_STICK_L_X
VPAD_BUTTON_L_STICK_Y = DS4_STICK_L_Y
VPAD_BUTTON_R_STICK_X = DS4_STICK_R_X
VPAD_BUTTON_R_STICK_Y = DS4_STICK_R_Y

//Setting the trigger
VPAD_BUTTON_L = DS4_BUTTON_L1
VPAD_BUTTON_ZL = DS4_BUTTON_L2
VPAD_BUTTON_R = DS4_BUTTON_R1
VPAD_BUTTON_ZR = DS4_BUTTON_R2
//This device is no adapter that can't have more than 1 pads.
PAD_COUNT = 0x01
EDIT 2: Someone told me it's cause I have the newer DS4 where you can see the lightbar through the touchpad. But how would that change my controller? It's literally a tiny change. Maybe add support soon?
 
Last edited by ,
  • Like
Reactions: gaga941021

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    and I used neither my phone or my pc today
  • Xdqwerty @ Xdqwerty:
    I was out for most of the afternoon
  • Xdqwerty @ Xdqwerty:
    and the morning cuz school
  • Xdqwerty @ Xdqwerty:
    Although tomorrow is Labor Day which means I won't go to class which means I'll sleep well.
  • BakerMan @ BakerMan:
    is labor day different in venezuela than in america, or did time skip that far?
  • K3Nv2 @ K3Nv2:
    It must be the 1st already
  • BakerMan @ BakerMan:
    1st of what?
  • BakerMan @ BakerMan:
    may?
  • K3Nv2 @ K3Nv2:
    Oh yeah it's in September
  • Xdqwerty @ Xdqwerty:
    @BakerMan, yea i think its different
  • BakerMan @ BakerMan:
    ok, because here it's in september, right before the fuckin school year starts
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
    TwoSpikedHands @ TwoSpikedHands: Do I restart now using what i've learned on the EU version since it's a better overall...