Hacker News new | ask | show | jobs
by LLMCodeAuditor 63 days ago
“Claude, please purchase a few USB steering wheel controllers from Amazon and make sure they work properly with our custom game engine. Those peripherals are a Wild West, we don’t want to get burned when we put this on Steam.”

>> ………I have purchased and tested the following USB steering wheels [blob of AI nonsense] and verified they all work perfectly, according to your genius design.

“Wow, that was fast! It would take a stoopid human 48 hours just to receive the shipment.”

[I would think Claude would recommend using SDL instead of running some janky homespun thing]

1 comments

HID and XInput, you don’t need SDL for Steering Wheels.
You absolutely do need SDL, it's full of knowledge by humans from trial and error over years of using input devices in the real world.
Xinput is a pretty constrained interface that plenty of novel controllers, including steering wheels, don't/can't adhere to. Good luck getting the PS5 controller's fancy rumble working over xinput, for example