Use grip instead of A/X to move the GUI
This commit is contained in:
@@ -991,8 +991,8 @@ scene::meta & scenes::lobby::get_meta_scene()
|
|||||||
{"right_scroll", "/user/hand/right/input/thumbstick"},
|
{"right_scroll", "/user/hand/right/input/thumbstick"},
|
||||||
{"right_haptic", "/user/hand/right/output/haptic"},
|
{"right_haptic", "/user/hand/right/output/haptic"},
|
||||||
|
|
||||||
{"recenter_left", "/user/hand/left/input/x/click"},
|
{"recenter_left", "/user/hand/left/input/squeeze/value"},
|
||||||
{"recenter_right", "/user/hand/right/input/a/click"},
|
{"recenter_right", "/user/hand/right/input/squeeze/value"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
suggested_binding{
|
suggested_binding{
|
||||||
|
|||||||
@@ -1754,9 +1754,9 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> scenes::lobby::draw_gui(XrTi
|
|||||||
if (not is_gui_visible(*imgui_ctx, predicted_display_time))
|
if (not is_gui_visible(*imgui_ctx, predicted_display_time))
|
||||||
{
|
{
|
||||||
if (application::get_hand_tracking_supported())
|
if (application::get_hand_tracking_supported())
|
||||||
display_recentering_tip(*imgui_ctx, _("Press A or X or put your palm up\nto move the main window"));
|
display_recentering_tip(*imgui_ctx, _("Press the grip button or put your palm up\nto move the main window"));
|
||||||
else
|
else
|
||||||
display_recentering_tip(*imgui_ctx, _("Press A or X to move the main window"));
|
display_recentering_tip(*imgui_ctx, _("Press the grip button to move the main window"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#if WIVRN_CLIENT_DEBUG_MENU
|
#if WIVRN_CLIENT_DEBUG_MENU
|
||||||
|
|||||||
Reference in New Issue
Block a user