alessandroasm / generic-usb-gamepad-vibration-driver

Force feedback Windows 10/8 driver for generic gamepads
60 stars 12 forks source link

Windows Still Uses "Generic USB Joystick" Driver #1

Closed ni554n closed 7 years ago

ni554n commented 7 years ago

Hey man, thanks for the effort; really appreciate it. But I'm unable to use this driver.

I've the same controller with similar hardware ID. By default it uses Generic USB Joystick. I've removed generic driver, installed this one and connected the gamepad again. But nothing happens. Windows still use Generic USB Joystick.

So, what to do here?

alessandroasm commented 7 years ago

Hello ni554n,

Since the default HID driver is good enough to handle the input, I wrote only the ForceFeedback (output) driver. In other words, Windows will still use the default driver for it.

How does it work then?

When a application supports force feedback, it will use DirectInput to load and use the driver. DirectInput searches for the driver in Windows registry at the following path (assuming it is a 64-bit application): image If things are set up correctly, the application will load the proper dll image

What could go wrong

I still have to tweak the setup file. Maybe it didn't registered the dlls correctly. You can do this manually using the following steps:

ni554n commented 7 years ago

Thanks. It works, but only with cemu. I tried with Xbox 360 Controller Emulator, but unfortunately vibration not working.

Btw, I have a question, can you play Windows Store games with this controller without any input binding?

alessandroasm commented 7 years ago

The analog button is working fine on my controller. When the light is on, both the analog sticks work as analog inputs (the game knows how much you are pushing them). I always use it on analog mode.

I've tested the xbox 360 controller emulator on assassin's creed unity and it works when I selected the following options: image

Vibration is not working as expected though... I'm gonna look further into this