Add fading between hand interaction profile and hand tracking

This commit is contained in:
Guillaume Meunier
2025-11-15 23:09:23 +01:00
parent 11abd8d9fe
commit 33e8016048
5 changed files with 126 additions and 121 deletions
-2
View File
@@ -429,7 +429,6 @@ void scenes::stream::on_focused()
std::array imgui_inputs{
imgui_context::controller{
.index = 0,
.aim = get_action_space("left_aim"),
.offset = input->offset[xr::spaces::aim_left],
.trigger = get_action("left_trigger").first,
@@ -438,7 +437,6 @@ void scenes::stream::on_focused()
.haptic_output = get_action("left_haptic").first,
},
imgui_context::controller{
.index = 1,
.aim = get_action_space("right_aim"),
.offset = input->offset[xr::spaces::aim_right],
.trigger = get_action("right_trigger").first,