Skip to content

fix: DudesCab detection on Linux#46

Merged
jsm174 merged 2 commits intovpinball:masterfrom
patsoffice:fix/linux-dudescab-detection
Apr 12, 2026
Merged

fix: DudesCab detection on Linux#46
jsm174 merged 2 commits intovpinball:masterfrom
patsoffice:fix/linux-dudescab-detection

Conversation

@patsoffice
Copy link
Copy Markdown
Contributor

Fix wchar_t to string conversion for product_string and serial_number which produced garbled strings on non-Windows platforms. Also match DudesCab by HID interface number on Linux since hidapi-hidraw returns the USB-level product string for all interfaces instead of per-interface HID string descriptors.

patsoffice and others added 2 commits April 11, 2026 19:48
Fix wchar_t to string conversion for product_string and serial_number
which produced garbled strings on non-Windows platforms. Also match
DudesCab by HID interface number on Linux since hidapi-hidraw returns
the USB-level product string for all interfaces instead of per-interface
HID string descriptors.
@jsm174 jsm174 merged commit 2bae863 into vpinball:master Apr 12, 2026
12 checks passed
@jsm174
Copy link
Copy Markdown
Collaborator

jsm174 commented Apr 12, 2026

Thank you for this!

I added MacOS as well because its probably going to need the same check.

@patsoffice
Copy link
Copy Markdown
Contributor Author

Yeah, that's a good catch. Sounds like there is at least one person using a Dude's Cab board with a Mac so hopefully they can validate.

@patsoffice patsoffice deleted the fix/linux-dudescab-detection branch April 13, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants