Homebrew Official HID to VPAD

D

Deleted User

Guest
I'm trying it now.

L stick is drifting to the Right, to sensitive to Up, Left, and i feel like its to sensitive to Down.
R stick is drifting to the Left, Up, and its to sensitive to the Right.
Add deadzones to
 

Attachments

  • B2862A52-1FB8-4F2D-BCD0-34A92602D325.jpeg
    B2862A52-1FB8-4F2D-BCD0-34A92602D325.jpeg
    189.6 KB · Views: 221
D

Deleted User

Guest
I already tried that but i dont know from where it reads the ini file, i presumed its that one. also i dont know what walues to set. ALSO, hid test doesnt show anything
[vid=0x054c,pid=0x0268]
[IgnoreDefault]
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_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_Y = DS3_STICK_L_Y
VPAD_R_STICK_X = DS3_STICK_R_X
VPAD_R_STICK_Y = DS3_STICK_R_Y
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

Copy the above text into an empty .ini file and copy it to sd:wiiu/controller (the name of the file can be anything as long as it is an .ini file) and try again
 
  • Like
Reactions: MetoMeto

MetoMeto

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
1,486
Trophies
0
Location
SR-388
XP
2,264
Country
Zimbabwe
[vid=0x054c,pid=0x0268]
[IgnoreDefault]
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_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_Y = DS3_STICK_L_Y
VPAD_R_STICK_X = DS3_STICK_R_X
VPAD_R_STICK_Y = DS3_STICK_R_Y
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

Copy the above text into an empty .ini file and copy it to sd:wiiu/controller (the name of the file can be anything as long as it is an .ini file) and try again

It still drifts (pic below)

E5PN6DD.jpg
 
D

Deleted User

Guest
It still drifts (pic below)

E5PN6DD.jpg
[vid=0x054c,pid=0x0268]
[IgnoreDefault]
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_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_Y = DS3_STICK_L_Y
VPAD_R_STICK_X = DS3_STICK_R_X
VPAD_R_STICK_Y = DS3_STICK_R_Y
VPAD_L_STICK_X_DEADZONE = 0x06
VPAD_L_STICK_Y_DEADZONE = 0x06
VPAD_R_STICK_X_DEADZONE = 0x06 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

Now try this one
 
D

Deleted User

Guest
ok i used what you gave me. now ii hav this:

xVncpFM.jpg


--------------------- MERGED ---------------------------

https://i.imgur.com/EW9kWKd.jpg
so the x axis is still drifting... let me fix that for you

--------------------- MERGED ---------------------------

ok i used what you gave me. now ii hav this:

xVncpFM.jpg


--------------------- MERGED ---------------------------

https://i.imgur.com/EW9kWKd.jpg
[vid=0x054c,pid=0x0268]
[IgnoreDefault]
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_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_Y = DS3_STICK_L_Y
VPAD_R_STICK_X = DS3_STICK_R_X
VPAD_R_STICK_Y = DS3_STICK_R_Y
VPAD_L_STICK_X_DEADZONE = 0x10
VPAD_L_STICK_Y_DEADZONE = 0x06
VPAD_R_STICK_X_DEADZONE = 0x10
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

first of all, i want to say sorry since i dont have any of the stuff you are using so i cant calculate these things fast. and i am on exam week, so you wont always get a fast response. anyway you can try with this file, if this doesnt work, i will do everything i can to help you, but it may take several attempts
 
Last edited by ,

MetoMeto

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
1,486
Trophies
0
Location
SR-388
XP
2,264
Country
Zimbabwe
so the x axis is still drifting... let me fix that for you

--------------------- MERGED ---------------------------


[vid=0x054c,pid=0x0268]
[IgnoreDefault]
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_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_Y = DS3_STICK_L_Y
VPAD_R_STICK_X = DS3_STICK_R_X
VPAD_R_STICK_Y = DS3_STICK_R_Y
VPAD_L_STICK_X_DEADZONE = 0x10
VPAD_L_STICK_Y_DEADZONE = 0x06
VPAD_R_STICK_X_DEADZONE = 0x10
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

first of all, i want to say sorry since i dont have any of the stuff you are using so i cant calculate these things fast. and i am on exam week, so you wont always get a fast response. anyway you can try with this file, if this doesnt work, i will do everything i can to help you, but it may take several attempts

Oh, thank you very much! :)
Please, dont stress, i understand, your exams are more important!

im patient.

im also learning by doing this, its interesting.
so X is horisontal axes... i see.
k made whag every button do in hid test, when they change walue. i i believe those are the ones that corespond to buttons.

as for axes and analog...so i figured that left and up is 00 (the lovest value) on both sticks, and down and right is FF (the highest value).

so i see you are changing X (horisontal axis from left to right. from 00 to 06...and now to 10.

does that mean that youre reducing the space from center to left side? what about from center to right?
Shouldnt X axis have 2 values for left and right side of im wrong?

this seems a biit bomplicated, sorry if i spund noobish :P

--------------------- MERGED ---------------------------

And thank you again for wanting to help. I apreciate thag a lot!
 
D

Deleted User

Guest
Oh, thank you very much! :)
Please, dont stress, i understand, your exams are more important!

im patient.

im also learning by doing this, its interesting.
so X is horisontal axes... i see.
k made whag every button do in hid test, when they change walue. i i believe those are the ones that corespond to buttons.

as for axes and analog...so i figured that left and up is 00 (the lovest value) on both sticks, and down and right is FF (the highest value).

so i see you are changing X (horisontal axis from left to right. from 00 to 06...and now to 10.

does that mean that youre reducing the space from center to left side? what about from center to right?
Shouldnt X axis have 2 values for left and right side of im wrong?

this seems a biit bomplicated, sorry if i spund noobish :P

--------------------- MERGED ---------------------------

And thank you again for wanting to help. I apreciate thag a lot!
That’s right! You are a fast learner. If you want you can play with the values by yourself so the job gets done faster. If you have any questions just ask me! And tell me if it worked
 
Last edited by ,
  • Like
Reactions: MetoMeto

emcintosh

On the internet, everyone knows I'm a cat
Member
Joined
Dec 4, 2016
Messages
445
Trophies
0
XP
2,339
Country
United Kingdom
Yes, you can set up the buttons by looking in HID Test and finding which digit is changing. But as you’re using a popular standard controller, there are button names built into HID to Vpad (‘DS3_BUTTON_CIRCLE’ &c.).

The dead zones work a bit differently - they’re not a value you’ll see directly in HID Test. They’re the minimum amount you need to move the stick away from centre before it should register anything. You’ve spotted that the values run from 00 to FF (these are hexadecimal numbers - the left column is worth 16x as much, and each digit can go beyond 9, up to F=15) The central value is 7F, and the dead zone is how far either side of this (so, no, there aren’t separate left and right ones to fill in) should register. So if your stick reads 71 when released, you’d need a dead zone of at least 0E (7F-71=E), and probably a bit more, e.g. 10 or 12, to be safe.

im also learning by doing this, its interesting.
so X is horisontal axes... i see.
k made whag every button do in hid test, when they change walue. i i believe those are the ones that corespond to buttons.

as for axes and analog...so i figured that left and up is 00 (the lovest value) on both sticks, and down and right is FF (the highest value).

so i see you are changing X (horisontal axis from left to right. from 00 to 06...and now to 10.

does that mean that youre reducing the space from center to left side? what about from center to right?
Shouldnt X axis have 2 values for left and right side of im wrong?
 

MetoMeto

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
1,486
Trophies
0
Location
SR-388
XP
2,264
Country
Zimbabwe
Yes, you can set up the buttons by looking in HID Test and finding which digit is changing. But as you’re using a popular standard controller, there are button names built into HID to Vpad (‘DS3_BUTTON_CIRCLE’ &c.).

The dead zones work a bit differently - they’re not a value you’ll see directly in HID Test. They’re the minimum amount you need to move the stick away from center before it should register anything. You’ve spotted that the values run from 00 to FF (these are hexadecimal numbers - the left column is worth 16x as much, and each digit can go beyond 9, up to F=15) The central value is 7F, and the dead zone is how far either side of this (so, no, there aren’t separate left and right ones to fill in) should register. So if your stick reads 71 when released, you’d need a dead zone of at least 0E (7F-71=E), and probably a bit more, e.g. 10 or 12, to be safe.
First of all, thank you for joining the conversation, i appreciate any help and advice's! :)

Ohh i see, i can imagine that visually kinda.

It would be like (correct me if i'm wrong now...visual example) having a wooden plank that is 16 meters long and in order to balance it i need to hold it in the middle which is 8 meter mark.

So.. if i cut the left side ONLY for, lets say, 4 meters the whole plank would be 12 meters now. So i don't need to cut the other side also in order to balance it, but i should just hold it at 6 meter mark in order to balance it and the plank would now be 6 meters long on each side. Did i got that right?

Haha sorry for my primitive example but it feels more understandable that way to me to explain. x)

That’s right! You are a fast learner. If you want you can play with the values by yourself so the job gets done faster. If you have any questions just ask me! And tell me if it worked

YES, thank you very much!!! You helped me a lot!
I'll write here anyway, and tell how am i doing and if i need any help with, thank you! ^^

I'll reorder buttons such as A,B,X,Y for starters, to see if .ini file is ACTUALLY recognized...
i mean if dead-zone, i play with, do anything anyway...
 

MetoMeto

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
1,486
Trophies
0
Location
SR-388
XP
2,264
Country
Zimbabwe
EDIT: Yup, i rearanged the buttons and they correspond to exactly what i rearranged them to.
So i guess i shall play with DeadZones now. Its pretty easy actually when you think about it. It looked pretty confusing at first! :D
I hope i'll manage to fix the issue!

EDIT _2: Yes, i managed to fix drifting :)
I set all axes on both to 38 (26 HEX) thats 15% out of 255 (FF HEX) so 15% dead-zone works great for me! ^^
thanks again both of you!!!



SEE YOU NEXT MISSION!
mfu-32.png
 
Last edited by MetoMeto,
  • Like
Reactions: Deleted User

MetoMeto

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
1,486
Trophies
0
Location
SR-388
XP
2,264
Country
Zimbabwe
One question though...
i noticed that HID controller is not working on a "Mario Kart 8", the game that came pre-installed on a console when its bought.

Why is that?
 
D

Deleted User

Guest
One question though...
i noticed that HID controller is not working on a "Mario Kart 8", the game that came pre-installed on a console when its bought.

Why is that?
try pressing the tv button on your wii u gamepad or instead of emulating the gamepad, emulate the wii u pro controller
 

emcintosh

On the internet, everyone knows I'm a cat
Member
Joined
Dec 4, 2016
Messages
445
Trophies
0
XP
2,339
Country
United Kingdom
First of all, thank you for joining the conversation, i appreciate any help and advice's! :)

Ohh i see, i can imagine that visually kinda.

It would be like (correct me if i'm wrong now...visual example) having a wooden plank that is 16 meters long and in order to balance it i need to hold it in the middle which is 8 meter mark.

So.. if i cut the left side ONLY for, lets say, 4 meters the whole plank would be 12 meters now. So i don't need to cut the other side also in order to balance it, but i should just hold it at 6 meter mark in order to balance it and the plank would now be 6 meters long on each side. Did i got that right?

We’re cutting a section out of the middle rather than off the end.

IFAIK there’s no reason one couldn’t program different dead zone sizes on either side, but if we’re only correcting small drifts, it’s not necessary.

Here’s a different analogy - we’re putting a sticker in the middle of the circle you can move the joystick in, and saying ‘ignore any stick positions in here’. The x and y dead zone values are the size of the sticker.
 
D

Deleted User

Guest
hello guys. i am having a problem while playing smash bros. for wii u. when i select emulate a wii u pro controller, after after like 3 or 4 minutes of playing, the tv screen gets darker, i have already tried emulating the wii u gamepad, pressing tv on the real gamepad, and even turning gamepad display off, but none seems to be fixing it.
however, moving the gamepad a little bit seems to fix the issue... for a while.
image.jpg

tv screen when starting to play
image.jpg

tv screen after playing for around 3 minutes


i know you cannot appreciate it but how do i fix this? thanks!
 
Last edited by ,

MetoMeto

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
1,486
Trophies
0
Location
SR-388
XP
2,264
Country
Zimbabwe
hello guys. i am having a problem while playing smash bros. for wii u. when i select emulate a wii u pro controller, after after like 3 or 4 minutes of playing, the tv screen gets darker, i have already tried emulating the wii u gamepad, pressing tv on the real gamepad, and even turning gamepad display off, but none seems to be fixing it.
however, moving the gamepad a little bit seems to fix the issue... for a while.
View attachment 170823
tv screen when starting to play
View attachment 170822
tv screen after playing for around 3 minutes


i know you cannot appreciate it but how do i fix this? thanks!
The same happenes to me while playing Zelda BotW while emulating pro controller for wiiU.

I believe that emulationg wiiu gamepad doesnt have that issue.

But thats not a fix, iiknow.

Anyway, id id also like to know how to fix this...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: douche