Hacker News new | ask | show | jobs
by badsectoracula 534 days ago
Steam already has Steam Input, a translation layer that converts between various input events to whatever the game expects.

It is how i got to play the original System Shock 2 on my Steam Deck even though the game was designed with a keyboard and mouse in place.

1 comments

Yeah, but that requires Steam to add support for those input events. It doesn't have an API for you to feed it input events. There's not exactly a standard for random input events for Steam to hook into either.

That's why distros like Bazzite and ChimeraOS have an additional translator[0] to take input events and output a controller that Steam supports, Dualsense edge or Steam Deck's controller, to be able to add support for gyro and back buttons.

[0] https://github.com/hhd-dev/hhd or https://github.com/ShadowBlip/InputPlumber