adding a missed change

This commit is contained in:
ForTehLose
2024-12-04 13:55:27 -05:00
parent c0be012b9d
commit a260443a0d

View File

@@ -54,7 +54,7 @@ impl Plugin for TrackingUtilitiesPlugin {
);
//bindings
app.add_systems(OxrSendActionBindings, suggest_action_bindings);
// app.add_systems(OxrSendActionBindings, suggest_action_bindings);
//sync actions
app.add_systems(
PreUpdate,
@@ -200,7 +200,7 @@ fn update_right_grip(
//tracking rig
#[derive(Resource)]
struct ControllerActions {
pub struct ControllerActions {
set: openxr::ActionSet,
left: openxr::Action<Posef>,
right: openxr::Action<Posef>,
@@ -240,7 +240,7 @@ fn spawn_tracking_rig(
//bindings
//TODO figure out how to make these better, specifically not be controller specific
fn suggest_action_bindings(
pub fn suggest_action_bindings(
actions: Res<ControllerActions>,
mut bindings: EventWriter<OxrSuggestActionBinding>,
) {