blujay
sterillo.bsky.social
blujay
@sterillo.bsky.social
Engine Developer for Sentinels Inc.

20 - he/him
rare shiny quagsire L
November 12, 2023 at 2:57 AM
I see why game engines that handle this shit for you are so popular, honestly my experience with input handling has been legitimately worse so far than graphics programming ever was.

I see why Valve works so hard on SDL, having something like that is a godsend until you need just a little bit more.
November 11, 2023 at 6:54 AM
There's just so much to manage. Oh also, when I tried to use an Xbox controller connected over USB with the gamepad API shit just didn't work? I read on SO that it only really works for Xbox 360 controllers and other non XInput devices...

Like how can Windows development suck so much 😭
November 11, 2023 at 6:52 AM
There's like 10 million different game input APIs that you can use on Windows. XInput sucks because it's limited in support and it almost feels too easy? Like state management is done by something else which tbh I kinda don't like.

Then there's DInput. Moving on.

Then there's this gamepad api....
November 11, 2023 at 6:51 AM
Not to mention that for some reason, the device driver for a GameCube Adapter defaults to the HidBus driver???

Not only that, but you can't open the device path and take it over using WinUsb without installing a custom driver. This shit is dumb, if HidUsb fails to init, it should default to winusb
November 11, 2023 at 6:48 AM
Side note, I'm pretty positive that WIndows just sucks more than Linux and macOS.

Last night, I spent about 3 hours working on getting gamepad input read using udev and epoll. Worked like a charm, universal, awesome!

I've spent 14 hours TODAY ALONE trying to understand windows APIs...
November 11, 2023 at 6:46 AM
it's so cringe and the rust crate being like over 600 lines or something to interface with it is evidence of that lmfao
September 21, 2023 at 12:31 AM