Maschell / HIDtoVPADNetworkClient

24 stars 1 forks source link

vJoy DInput HID devices are not detected #15

Open rctgamer3 opened 7 years ago

rctgamer3 commented 7 years ago

Paired two Switch Joy-Con controllers together into a vJoy DirectInput HID device (VID 0x1234, PID 0xBEAD) but it doesn't show up in the network client at all, even with all HID devices enabled.

It works fine in Dolphin though (DInput/0/vJoy Device), including full analog support.

rctgamer3 commented 7 years ago

It does show up under Info as a PureJavaHidDevice:

PureJavaHidDevice [vid= 1234, pid= BEAD, path= \\?\hid#hidclass&col01#1&2d595ca7&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}, usage= 0001:0000, data=[]]
PureJavaHidDevice [vid= 1234, pid= BEAD, path= \\?\hid#hidclass&col02#1&2d595ca7&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}, usage= 0001:0000, data=[]]

Second vJoy controller is useless, both Joy-Cons are merged into the first device.

Maschell commented 7 years ago

It's because of the usage flag. Currently the network client checks if the usage flag is either 0x04 or 0x05. Did you try to enable the "Show other hid" option in the settings? Then the device should show up ;)

rctgamer3 commented 7 years ago

I have all options checked/enabled (HID Gamepads/XInput controllers/Other HIDs) - all I see is one device with 0x0B05/0x8176 which seems to be an unrelated device.