LuanRoger / xinput_gamepad

🎮 Add support to XInput controllers with Win32 API.
https://pub.dev/packages/xinput_gamepad
MIT License
6 stars 2 forks source link

Gamepad not detected #9

Open fotiDim opened 1 year ago

fotiDim commented 1 year ago

I have a Logitech Chillstream gamepad which is PS3/PC compatible and is not detected by the example app. In Device Manager it shows up as HID compliant. Is it because it does not support XInput?

LuanRoger commented 1 year ago

This is a very old controller 😅, probrably it realy uses DirectInput or some other generic interface and the package only support XInput. But you can try to use X360CE or similar to emulate a XInput device, could you try it out and come to repport if it works?

fotiDim commented 1 year ago

I can use x360ce v4, which uses ViGEmBus under the hood to emulate an XBox 360 controller and use it in games that do not support directinput controllers such as GTA V. However when I am trying with the example app it makes the virtual device disconnect.

EDIT: After a computer restart the gamepad no longer disconnects but it is still not detect by the flutter_windows example app. The gamepad is detected and working with https://pub.dev/packages/win32_gamepad and x360ce.