Homebrew Official HID to VPAD

Uptightmario555

Member
Newcomer
Joined
Jan 25, 2016
Messages
5
Trophies
0
XP
58
Country
United States
Currently trying to use my Switch Pro Controller, and the left stick is moving on it's own. I thought it was my controller, but I tested it out on the Switch and it works perfectly fine. Any way to fix this?

Edit: Nvm, managed to fix it.
 
Last edited by Uptightmario555,

ultrazonerc

New Member
Newbie
Joined
Feb 20, 2017
Messages
2
Trophies
0
Age
37
XP
56
Country
You have to put "pressed value" - "unpressed value" into the .ini
So when the byte is 0x40 without pressing anything, but turns to 0x48 when you press A, you write 0x08 into the config
I realise how long ago this comment was but it helped me heaps so just wanted to say thank you!
 

Regend

New Member
Newbie
Joined
Jun 1, 2019
Messages
2
Trophies
0
Age
23
XP
72
Country
Mexico
Does anyone knows if i could navigate through the vpadtohid menu with the D-Pad of the pro controller or Wii mote? my gamepad broke so that's not an option
 
D

Deleted User

Guest
Does anyone knows if i could navigate through the vpadtohid menu with the D-Pad of the pro controller or Wii mote? my gamepad broke so that's not an option
i think you can. with a wiimote you can use the pointe ri believe. let me try and i will tell you
 
D

Deleted User

Guest
416ECCFB-8C59-4F3F-8ECE-10A3BC7C9597.png
i use Dualshock 2 controller. i need to fix deadzone to 30% how do i do this?

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

yes

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

i use Dualshock 2 controller. i need to fix deadzone to 30% how do i do this?
what adapter are you using?
 

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
Currently trying to use my Switch Pro Controller, and the left stick is moving on it's own. I thought it was my controller, but I tested it out on the Switch and it works perfectly fine. Any way to fix this?

Edit: Nvm, managed to fix it.

What was the solution? I’ve had a similar problem with any adapter that spoofs a Switch controller and assumed it was a problem with the console not sending the ‘connected’ signal to the controller to start registering inputs and interpreting the controller’s initial signal as stick movement.
 

MetoMeto

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
1,486
Trophies
0
Location
SR-388
XP
2,264
Country
Zimbabwe
I dont understand why do i have so much of these... not sure what to look:


//Thumbsticks
VPad_L_Stick_X=0x03,0x80
VPad_L_Stick_X_MinMax=0x00,0xFF
VPad_L_Stick_X_Deadzone=0x0A
//VPad_L_Stick_X_Deadzone=0x33
VPad_L_Stick_X_Invert=False
VPad_L_Stick_Y=0x04,0x80
VPad_L_Stick_Y_MinMax=0x00,0xFF
VPad_L_Stick_Y_Deadzone=0x0A
//VPad_L_Stick_Y_Deadzone=0x24
VPad_L_Stick_Y_Invert=True
VPad_R_Stick_X=0x02,0x80
VPad_R_Stick_X_MinMax=0x00,0xFF
VPad_R_Stick_X_Deadzone=0x0A
//VPad_R_Stick_X_Deadzone=0x24
VPad_R_Stick_X_Invert=False
VPad_R_Stick_Y=0x01,0x80
VPad_R_Stick_Y_MinMax=0x00,0xFF
VPad_R_Stick_Y_Deadzone=0x0A
//VPad_R_Stick_Y_Deadzone=0x26
VPad_R_Stick_Y_Invert=True
PAD_COUNT=2

Sorry, i thought post will be merged.
 
Last edited by MetoMeto,
D

Deleted User

Guest
I dont understand why do i have so much of these... not sure what to look:


//Thumbsticks
VPad_L_Stick_X=0x03,0x80
VPad_L_Stick_X_MinMax=0x00,0xFF
VPad_L_Stick_X_Deadzone=0x0A
//VPad_L_Stick_X_Deadzone=0x33
VPad_L_Stick_X_Invert=False
VPad_L_Stick_Y=0x04,0x80
VPad_L_Stick_Y_MinMax=0x00,0xFF
VPad_L_Stick_Y_Deadzone=0x0A
//VPad_L_Stick_Y_Deadzone=0x24
VPad_L_Stick_Y_Invert=True
VPad_R_Stick_X=0x02,0x80
VPad_R_Stick_X_MinMax=0x00,0xFF
VPad_R_Stick_X_Deadzone=0x0A
//VPad_R_Stick_X_Deadzone=0x24
VPad_R_Stick_X_Invert=False
VPad_R_Stick_Y=0x01,0x80
VPad_R_Stick_Y_MinMax=0x00,0xFF
VPad_R_Stick_Y_Deadzone=0x0A
//VPad_R_Stick_Y_Deadzone=0x26
VPad_R_Stick_Y_Invert=True
PAD_COUNT=2

Sorry, i thought post will be merged.
What is the stick you are trying to set the dead zone to?
 

MetoMeto

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
1,486
Trophies
0
Location
SR-388
XP
2,264
Country
Zimbabwe
What is the stick you are trying to set the dead zone to?
Both actually haha.

If it means anything,
On my pc in x360ce, on dolphin and other, i set up deadzone to 30% and it works great!

Also in hid test i xant see anything but hid to vpad see it and it works, but deadzone is not good....to sensitive..30% would be nice though..
 
D

Deleted User

Guest
Both actually haha.

If it means anything,
On my pc in x360ce, on dolphin and other, i set up deadzone to 30% and it works great!

Also in hid test i xant see anything but hid to vpad see it and it works, but deadzone is not good....to sensitive..30% would be nice though..
in which directions are the sticks drifting towards?
 
  • Like
Reactions: MetoMeto

Narann

Member
Newcomer
Joined
Jun 2, 2019
Messages
5
Trophies
0
Age
38
XP
83
Country
France
Hi and first: Thanks for the hard work !

I reversed engineering the HID values of the cheap MIMD Controller Adapter for N-Switch/WII/PC USB (reference: mimd-422-1) and wanted to share:

Code:
//MIMD Controller Adapter for N-Switch/WII/PC USB (mimd-422-1)
[vid=0x0079,pid=0x1846]

PAD1_FILTER=0x00,0x04  // First, left plug is actually 0x04
PAD2_FILTER=0x00,0x03
PAD3_FILTER=0x00,0x02
PAD4_FILTER=0x00,0x01

VPAD_BUTTON_A               =   0x01,0x02  // GC A Button
VPAD_BUTTON_B               =   0x01,0x04  // GC B Button
VPAD_BUTTON_X               =   0x01,0x01  // GC X Button
VPAD_BUTTON_Y               =   0x01,0x08  // GC Y Button

VPAD_BUTTON_PLUS            =   0x02,0x02  // GC Start

VPAD_BUTTON_L               =   0x01,0x10  // GC L pushed
VPAD_BUTTON_R               =   0x01,0x20  // GC R pushed
VPAD_BUTTON_ZR              =   0x01,0x80  // GC Z

DPAD_MODE                   =   DPAD_HAT
DPAD_MASK                   =   0xF0
VPAD_BUTTON_DPAD_N          =   0x02,0x10
VPAD_BUTTON_DPAD_NE         =   0x02,0x30
VPAD_BUTTON_DPAD_E          =   0x02,0x20
VPAD_BUTTON_DPAD_SE         =   0x02,0x60
VPAD_BUTTON_DPAD_S          =   0x02,0x40
VPAD_BUTTON_DPAD_SW         =   0x02,0xC0
VPAD_BUTTON_DPAD_W          =   0x02,0x80
VPAD_BUTTON_DPAD_NW         =   0x02,0x90
VPAD_BUTTON_DPAD_Neutral    =   0x02,0x00

// GC Thumbstick
VPad_L_STICK_X=0x03,0x80
VPad_L_STICK_X_MinMax=0x00,0xFF
VPad_L_STICK_X_Invert=False

VPad_L_STICK_Y=0x04,0x80
VPad_L_STICK_Y_MinMax=0x00,0xFF
VPad_L_STICK_Y_Invert=True

// GC C-Stick
VPad_R_STICK_X=0x06,0x80
VPad_R_STICK_X_MinMax=0x00,0xFF
VPad_R_STICK_X_Invert=True

VPad_R_STICK_Y=0x05,0x80
VPad_R_STICK_Y_MinMax=0x00,0xFF
VPad_R_STICK_Y_Invert=False

PAD_COUNT=4

I played SSMB with that and everything work fine.

I realize the MinMax values out of HID for GameCube sticks are never 0x00 - 0xFF but roughly 0x16 - 0xE6. Should I use those values in MinMax or let 0x00 - 0xFF ?

In order to solve this problem properly, I wanted to check stick behavior and compare to original Wii U pad stick behavior so I need an app that "show me" the stick position (a point in a circle) so I can compare and adapte. I found HID_TEST but it doesn't show a point in a circle but simply raw values.

I didn't find any rumble example to I couldn't find a way to enable rumble. maybe it's simply not supported.

I also realize I need to have only needed config files in the wiiu/controller folder for HIDtoVPAD to detect my pads or detection simply don't work.

A big thanks in advance for your answers. :)
 

MetoMeto

Well-Known Member
Member
Joined
Dec 28, 2018
Messages
1,486
Trophies
0
Location
SR-388
XP
2,264
Country
Zimbabwe
how are they drifting in all 4 directions? could you show me a video of hidtovpad in which you connect the ds2 and the sticks drift on the profile?
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.
 
Last edited by MetoMeto,

Site & Scene News

Popular threads in this forum

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