Elephant42 / FS_Tool

18 stars 5 forks source link

Generic HID device not showing inputs #5

Open yani992 opened 3 months ago

yani992 commented 3 months ago

Hi, I am trying to use the Joystick Mapping functionality of your VERY USEFUL tool. I have many input devices (joysticks, throttle, joypad, button box, etc.) and they all show in the list. But when I try to select my custom HID device (built on a Teensy and perfectly working in Windows/MSFS/DCS) it does not show any available input in the list, so I cannot map them in the xml config file. The device has more than 32 buttons (around 80), might it be the problem?

Any hint is appreciated. Thanks.

Elephant42 commented 3 months ago

Sorry, I have no idea why it would not appear in the list.

The HID code was not written by me but was obtained from here: http://www.zer7.com/software/hidsharp

The only thing I can suggest is to debug the Joystick.GetJoysticks() and Joystick.IsJoystickOrGamepad code and see if you can work out why the teensy is being filtered out of the list. If that doesn't produce any useful info you might try contacting the author of HidSharp at the URL above.

Good luck :)