WIP: Input device portal

Simon McVittie requested to merge wip/input-portal into main

Input device portal, split out from !158 (merged). Now based on !170 (merged), please review that first.

For now the portal client-side assumes we'll use the D-Bus session bus, although the server and unit tests do support using a private socket. We will need to change this so it automatically uses a private socket if one is present, perhaps /run/pressure-vessel/portal1.

We will also need code changes in Steam to run a single instance of the portal shared between all games, or code changes in pressure-vessel to run a separate portal instance per game (in which case we'll also need some way to make it shut down automatically when the game exits, perhaps PR_DEATHSIG).

Edited by Simon McVittie

Merge request reports