feat: XR binding for playspace reset

This commit is contained in:
hypevhs
2024-08-10 18:25:00 -05:00
committed by galister
parent dc985f6da6
commit 9d18628354
4 changed files with 37 additions and 0 deletions

View File

@@ -73,6 +73,9 @@ impl InputState {
if hand.now.space_rotate != hand.before.space_rotate {
log::debug!("Hand {}: space_rotate {}", hand.idx, hand.now.space_rotate);
}
if hand.now.space_reset != hand.before.space_reset {
log::debug!("Hand {}: space_reset {}", hand.idx, hand.now.space_reset);
}
if hand.now.click_modifier_right != hand.before.click_modifier_right {
log::debug!(
"Hand {}: click_modifier_right {}",
@@ -192,6 +195,7 @@ pub struct PointerState {
pub show_hide: bool,
pub space_drag: bool,
pub space_rotate: bool,
pub space_reset: bool,
pub click_modifier_right: bool,
pub click_modifier_middle: bool,
pub move_mouse: bool,