https://github.com/ZILtoid1991/iota/blob/main/source/iota/controls/polling.d#L865
I have done multiple changes, but the moment I get an event on a game controller, it’ll lock up until a new event is made on the game controller. I cannot find any documentation on what to do exactly, only some vague gesturing about EV_SYN events, and that they should be handled in a certain way. And of course the usual recommendations of “but there are already libraries made to abstract OS-level stuff”, except many of them often janky in more than one way (a lot of them still uses DirectInput).


Did some digging iin those libraries, apparently all just using the standard
read()function instead of the libevdev one, and I have yet to see anything aboutEV_SYN, maybe this way you don’t have to bother with it.Okay, it seems like SDL does actually use
EV_SYNfor signaling reasons.