mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
Codemasters games keep their UDP/motion output in My Games/<game>/hardwaresettings/hardware_settings_config.xml inside the game's Proton prefix. The page finds those files in every library's compatdata and offers a switch per game: on points the udp (or motion) line at 127.0.0.1:20777 with extradata 3 and keeps the file as it was beside it; off puts that line back. Only that line changes, the file is replaced in one rename, and a game's switch is locked while that game runs. Installed games whose output is a menu setting only (Forza, BeamNG.drive) get a line with what to turn on. Library.compatdataDirs shares protonPrefix's library roots.