On how I used RetroArch to create a controller configuration for an NES-to-USB adapter and then copied the configuration files into Lutris’ Libretro directory.
Playing Pokémon Red with the only controller they originally designed it for, a Super Nintendo controller (some context and caveats apply).