adding a missed change
This commit is contained in:
@@ -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>,
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user