This day’s frustrating debugging session sponsored by shitty error handling in <stdlib.h>, namely that atoi(garbage) == 0 and so it’s not straightforward to tell if the 0 was there or not :cirno_for_reals:
>The functions atof, atoi, atol, and atoll need not affect the value of the integer expression errno on an error. If the value of the result cannot be represented, the behavior is undefined.
@Ukko It's weird that it just shows empty on Disqordia tbh, when I look at something from my allowlist instance quoted from a domain that's not on the list it shows as "quoted status unavailable". Maybe it's different when you're the one blocked.
I could buy an used Thrustmaster eSwap for the price of a new Xbox controller; I usually prefer to buy new things and use them until they break (and if it’s used I don’t know how badly was it treated by the previous owner), but this one has replaceable parts, so if a stick breaks or something it’s not the end of the world.
Unfortunately, from what I read online it looks like it’s not supported on anything other than Windows; meanwhile Xbox controllers work fine on Linux and Mac.
It continues to amaze me that if you want something to work on a non-Windows platform then hardware made by Microsoft is usually a safer bet :cirno_for_reals:
How hard would it be to just buy the Thrustmaster sticks, some mechanical switches, 3d print the chassis, and hack together my own controller with blackjack and hookers :ablobfoxhyper:
@mer I’m used to the xbox layout :akko_shrug: And I’m not sure if I want to get into DIY, it’s just that my current pad is starting to shit itself while I’m playing dark souls and I’m massively overthinking getting a replacement.