SDL has three methods for detecting input devices [1]: udev, inotify, and, as a fallback, enumerating /dev/input.
It seems like Papers, Please uses a statically linked version of SDL, without udev or inotify support compiled in.
1: https://github.com/libsdl-org/SDL/blob/d0de4c625ad26ef540166...