https://bugs.winehq.org/show_bug.cgi?id=50703
--- Comment #2 from dreamer bugs.winehq.org@mrtoasted.com --- I finally got a round to try a build setting the maximum to 64 and it works totally fine!
The comment mentions a refactor that would allow for an "unbound" amount of devices, which ultimately would be ideal. However I do not have any idea on how to do this.
For now 64 would be "enough for me", even though I can totally see someone surpassing this number. Especially considering that it includes all software ports on top of connected hardware.
Should I make a PR to do this initial increase, or wait for someone to figure out the unbound case? For me it's really problematic that I have to turn off software and disconnect devices, just so I can select the device that I want.