diff --git a/src/backend/openxr/input.rs b/src/backend/openxr/input.rs index 349fd26..0bc055f 100644 --- a/src/backend/openxr/input.rs +++ b/src/backend/openxr/input.rs @@ -393,7 +393,7 @@ fn suggest_bindings(instance: &xr::Instance, hands: &[&OpenXrHandSource; 2]) -> } } - if let Some(action) = profile.haptics { + if let Some(action) = profile.haptic { if let Some(p) = to_path(&action.left, instance) { bindings.push(xr::Binding::new(&hands[0].action_haptics, p)); } @@ -508,7 +508,7 @@ struct OpenXrActionConfProfile { click_modifier_middle: Option, move_mouse: Option, scroll: Option, - haptics: Option, + haptic: Option, } const DEFAULT_PROFILES: &str = include_str!("openxr_actions.json5");