server: scale tablet_tool motion events

Also add missing Distance event handler.
Closes #179, closes #123
This commit is contained in:
Shawn Wallace 2025-06-19 23:03:51 -04:00
parent 70f15d5085
commit 03cbb2ee3a
4 changed files with 141 additions and 17 deletions

View file

@ -264,6 +264,10 @@ where
}
}
pub fn get(&self) -> Entity {
self.key.get().copied().expect("Object key is not set")
}
fn new() -> Self {
Self {
key: OnceLock::new(),