Hacker News new | ask | show | jobs
by fxtentacle 1402 days ago
I didn't build it, but there's ViGEm for creating virtual Xbox 360 controllers: https://github.com/ViGEm/ViGEmClient

So each client polls the local controller using the DX APIs, streams the state to the server and then the server creates virtual gamepads to send the input to the game.