Mirror the gamepad forwarded from the headset to a uinput device with the standard Xbox layout, so applications that do not read it through OpenXR, such as SDL and Steam Input, pick it up. This extends the existing hid-forwarding uinput path, which already covered keyboard and mouse.
The headset chooses which devices to forward (keyboard, mouse, gamepad), off by default. The hid-forwarding server option gates the uinput mirror only; the OpenXR gamepad is always exposed. The mirror needs the uinput module and write access to /dev/uinput.
Gamepad rumble written to the uinput device is read back and forwarded to the headset as OpenXR haptics.
Replace the patches to Monado's main compositor with a local
implementation, reusing code when relevant.
The layer squasher is very close to comp_render_cs, while distortion is
completely replaced by foveation.
Will merge contents from
@CMAKE_INSTALL_PREFIX@/share/wivrn/config.json
/etc/wivrn/config.json
~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact)
If -f option is provided, just parse that file, don't merge anything
I ran into some trouble debugging issues with Vivecraft because my OpenVR runtime setup was being automatically overridden by WiVRn.
It would be nice to attach a UI to this option, but I'm not sure on the details there and I'd like to keep the PR small and easily reviewed.
Being able to set the compat path is more useful than simply disabling compat override because of things like pressure-vessel bypass, which are finicky to get right.
default client scale: 1.0 -> 1.4
default server scale: 0.8 -> 0.5 (0.35 if eye tracked)
added docs for av1 as default when supported
fixed docs about multiple encoders, it's not enabled by default