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