Make virtual tracker xdevs toggleable
Co-authored-by: Guillaume Meunier <guillaume.meunier@centraliens.net>
This commit is contained in:
co-authored by
Guillaume Meunier
parent
727445520e
commit
1cc61fd07a
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user