Make virtual tracker xdevs toggleable

Co-authored-by: Guillaume Meunier <guillaume.meunier@centraliens.net>
This commit is contained in:
Sapphire
2026-07-10 14:52:50 -05:00
co-authored by Guillaume Meunier
parent 727445520e
commit 1cc61fd07a
18 changed files with 268 additions and 67 deletions
+3
View File
@@ -507,6 +507,9 @@ void wivrn_session::operator()(const from_headset::settings_changed & settings)
if (not settings.mirror_gamepad and uinput_handler)
uinput_handler->destroy_gamepad();
if (body_tracker)
(*body_tracker)(settings);
wivrn_ipc_socket_monado->send(std::move(settings));
}