Some USB boards are not recognized properly by Bemanitools #37

Closed
opened 2019-11-03 21:58:24 +03:00 by icex2 · 3 comments
icex2 commented 2019-11-03 21:58:24 +03:00 (Migrated from github.com)

In GitLab by @RedAgent14 on Nov 3, 2019, 19:58

Summary

I have a USB-capable board that I'm using as an IO board for a(n) SDVX controller. The buttons show up fine, but the knobs aren't displayed under "analogs" in BT (though they show up fine in Spicetools).

Expected behavior

The device that the knobs are connected to should show up under "Devices" in the "Analogs" tab.

Current behavior

The device that the knobs are connected to is not present in the "Analogs" tab at all.

Detailed Description

I'm using is a Texas Instruments EK-TM4C123GXL LaunchPad as an IO board for a custom-made SDVX controller. I have two Copal encoders connected to the board's QEIs. Bemanitools recognizes the controller fine when I'm binding the buttons, but the knobs aren't displayed in the device list on the "Analogs" tab. When I try to configure the exact same controller in Spicetools, both knobs show up as analog devices, and I'm unsure as to why Spicetools sees the knobs and Bemanitools does not.

Screenshot of Bemanitools button binding window:

bt1

Screenshot of Bemanitools analogs window:

bt_analogs

Screenshot of Spicetools analogs window:

st_analogs

Video of the knobs in Windows' gamepad properties:
analogs.mkv

Possible solution

N/A

Context (Environment)

Bemanitools version(s) affected

*Bemanitools 5.27 or lower

Game(s) and version(s) affected

N/A

Configuration files

See attachments below.

Info + Device Descriptor for the USB board:
usb_gamepad_descriptor.txt

RAR containing the code I'm using for the USB gamepad (it's a version of TI's USB Gamepad code, modified to use the QEIs for the X and Y axes instead of reading values from the ADCs): usb_dev_gamepad.rar

APIs used

  • sdvxio (I've only tested the controller with the SDVX configuration window, so I assume it's sdvxio; feel free to correct me if I'm wrong about that.)

OS version

Windows 10 Pro (all builds)

Hardware specs

  • CPU: Intel Core i5 4690k 3.50GHz
  • RAM: 8 GB
  • GPU: Nvidia GeForce GTX 760
  • Controllers/IO: Custom-made controller using a TI EK-TM4C123GXL board for IO
In GitLab by @RedAgent14 on Nov 3, 2019, 19:58 ## Summary <!--- Provide a general summary of the issue in the Title above --> I have a USB-capable board that I'm using as an IO board for a(n) SDVX controller. The buttons show up fine, but the knobs aren't displayed under "analogs" in BT (though they show up fine in Spicetools). ## Expected behavior <!--- Tell us what should happen --> The device that the knobs are connected to should show up under "Devices" in the "Analogs" tab. ## Current behavior <!--- Tell us what happens instead of the expected behavior --> The device that the knobs are connected to is not present in the "Analogs" tab at all. ## Detailed Description <!--- Provide a detailed description of the issue. Include links to screenshots or videos if necessary --> I'm using is a Texas Instruments EK-TM4C123GXL LaunchPad as an IO board for a custom-made SDVX controller. I have two Copal encoders connected to the board's QEIs. Bemanitools recognizes the controller fine when I'm binding the buttons, but the knobs aren't displayed in the device list on the "Analogs" tab. When I try to configure the exact same controller in Spicetools, both knobs show up as analog devices, and I'm unsure as to why Spicetools sees the knobs and Bemanitools does not. Screenshot of Bemanitools button binding window: ![bt1](https://dev.s-ul.net/djhackers/bemanitools/uploads/8b050f5a3e8d38a9c8cd854f90e63cec/bt1.png) Screenshot of Bemanitools analogs window: ![bt_analogs](https://dev.s-ul.net/djhackers/bemanitools/uploads/39888f3d56aab50a7c283dabcdba3ffa/bt_analogs.png) Screenshot of Spicetools analogs window: ![st_analogs](https://dev.s-ul.net/djhackers/bemanitools/uploads/ff9f3370818a4f6e35320157fce8a8c2/st_analogs.png) Video of the knobs in Windows' gamepad properties: [analogs.mkv](https://dev.s-ul.net/djhackers/bemanitools/uploads/f30fdcc6b142eb9c887317f249198022/analogs.mkv) ## Possible solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> N/A ## Context (Environment) ### Bemanitools version(s) affected *Bemanitools 5.27 or lower ### Game(s) and version(s) affected N/A <!--- Add one or multiple game versions as a bullet list --> ### Configuration files See attachments below. <!--- Provide any configuration files that you used, e.g. iidxhook-XX.conf. Make sure to censor sensitive data like PCBIDs --> Info + Device Descriptor for the USB board: [usb_gamepad_descriptor.txt](https://dev.s-ul.net/djhackers/bemanitools/uploads/0cf4394e3d554e3ea1ec2738765af2c2/usb_gamepad_descriptor.txt) RAR containing the code I'm using for the USB gamepad (it's a version of TI's USB Gamepad code, modified to use the QEIs for the X and Y axes instead of reading values from the ADCs): [usb_dev_gamepad.rar](https://dev.s-ul.net/djhackers/bemanitools/uploads/bc219770c2da14b3a32dec96d1a3852d/usb_dev_gamepad.rar) ### APIs used * sdvxio (I've only tested the controller with the SDVX configuration window, so I assume it's sdvxio; feel free to correct me if I'm wrong about that.) ### OS version <!--- Provide the version of Windows you used with whatever update/build identifier --> Windows 10 Pro (all builds) ### Hardware specs * CPU: <!--- Insert, e.g. Core i7 2600k 3.20ghz --> Intel Core i5 4690k 3.50GHz * RAM: <!--- Insert, e.g. 16 GB --> 8 GB * GPU: <!--- Insert, e.g. Nvidia GeForce GTX 970, 4GB --> Nvidia GeForce GTX 760 * Controllers/IO: Custom-made controller using a TI EK-TM4C123GXL board for IO
icex2 commented 2019-11-05 13:06:47 +03:00 (Migrated from github.com)

In GitLab by @mon on Nov 5, 2019, 11:06

Error reading descriptor : ERROR_INVALID_PARAMETER

Can I see the hid descriptor? That's the most important part for bemanitools to work or not.

In GitLab by @mon on Nov 5, 2019, 11:06 > Error reading descriptor : ERROR_INVALID_PARAMETER Can I see the hid descriptor? That's the most important part for bemanitools to work or not.
icex2 commented 2019-11-08 18:49:35 +03:00 (Migrated from github.com)

In GitLab by @Corin on Nov 8, 2019, 16:49

@mon Is it not attached as usb_gamepad_descriptor.txt? Or did you mean something else?

In GitLab by @Corin on Nov 8, 2019, 16:49 @mon Is it not attached as [usb_gamepad_descriptor.txt](https://dev.s-ul.eu/djhackers/bemanitools/uploads/0cf4394e3d554e3ea1ec2738765af2c2/usb_gamepad_descriptor.txt)? Or did you mean something else?
icex2 commented 2024-01-30 01:07:07 +03:00 (Migrated from github.com)

Might be related to https://github.com/djhackersdev/bemanitools/commit/0fdde8b32d3252a6f80ece98b35a68b50242c79e which could be fixed with this commit. Since this issue is quite old and I don't know how that user is and if they care anymore, I am closing it. Can still be re-opened on demand.

Might be related to https://github.com/djhackersdev/bemanitools/commit/0fdde8b32d3252a6f80ece98b35a68b50242c79e which could be fixed with this commit. Since this issue is quite old and I don't know how that user is and if they care anymore, I am closing it. Can still be re-opened on demand.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Max/djhackersdev_bemanitools#37