On Thu Nov 28 17:10:31 2024 +0000, Rémi Bernon wrote:
It is unappealing to have an ever-growing buffer and critical section only to support joystick indexes, which IIUC are simply unreliable on Windows. We already support opening joystick by indexes, although these indexes will change on hotplug, still, it would seem more interesting to use these instead if we can.
Could you please point me to which opening joystick by index you mean? The only one I can immediately think of is in xinput and there it is based on setupapi device enumeration order and not some intrinsic index.