News for hackers. Stuff that matters.
Re:Fixing stutters in Papers Please on Linux by masklinn on Sunday January 02, 2022 @08:37AM (#29768595)
> Isn’t this the whole point of using file descriptors?

Opening the same file multiple times will yield different fds, and the paths can be modified independently of the fd.

The goal here is to find if:

1. there are new input devices

2. which are joysticks (a category which, for SDL, includes gamepads, so basically "has the user plugged in a new gamepad they might want to use for the game")

How would keeping a bunch of fds around help?

There are no comments on this comment yet.