logoalt Hacker News

tialaramexyesterday at 11:40 AM2 repliesview on HN

The flag DIDEVTYPE_JOYSTICK was added by this fix not removed.

The idea is, rather than handle up to 8 devices, otherwise UB and usually crash, handle up to 8 "joysticks" and disregard any beyond that.


Replies

anthkyesterday at 2:14 PM

I'd just use WineD3D in this case; I'm sure there's dinput.dll too ported to Wine for Windows.

xx_nsyesterday at 11:45 AM

Apologies, that's what I meant to say. I blame that on my lack of coffee today, my bad.