1 2 3 4 5 6 7 8 9 10
use openxr::{Action, ActionTy}; pub struct Touchable<T: ActionTy> { pub inner: Action<T>, pub touch: Action<bool>, } pub struct Handed<T> { pub left: T, pub right: T, }