Support hands in GUI

This commit is contained in:
Guillaume Meunier
2024-03-30 13:44:51 +01:00
parent 6a553b218a
commit 4fa63b3cf5
4 changed files with 95 additions and 41 deletions
+2
View File
@@ -718,12 +718,14 @@ void scenes::lobby::on_focused()
.trigger = get_action("left_trigger").first,
.squeeze = get_action("left_squeeze").first,
.scroll = get_action("left_scroll").first,
.hand = application::get_left_hand(),
},
imgui_context::controller{
.aim = get_action_space("right_aim"),
.trigger = get_action("right_trigger").first,
.squeeze = get_action("right_squeeze").first,
.scroll = get_action("right_scroll").first,
.hand = application::get_right_hand(),
},
};