contextless gaming

This commit is contained in:
2025-08-25 19:21:39 -04:00
parent e8b255c8f9
commit e9037cdc14
6 changed files with 27 additions and 46 deletions

View File

@@ -43,6 +43,7 @@ pub struct SenseTrigger {
pub shape: SenseShape,
pub sense: Sense,
}
#[derive(Default)]
pub struct SensorGroup {
pub hover: ActivationState,
pub cursor: ActivationState,
@@ -134,15 +135,6 @@ impl ActivationState {
}
}
impl Default for SensorGroup {
fn default() -> Self {
Self {
hover: Default::default(),
cursor: Default::default(),
sensors: Default::default(),
}
}
}
impl Clone for SensorGroup {
fn clone(&self) -> Self {
Self {