get rid of wayvr refcell

This commit is contained in:
galister
2025-12-27 13:27:44 +09:00
parent d70b51184c
commit 35f3748b95
11 changed files with 156 additions and 175 deletions

View File

@@ -347,7 +347,8 @@ pub(super) fn setup_custom_button<S: 'static>(
return Ok(EventResult::Pass);
}
app.hid_provider.send_key_routed(key, down);
app.hid_provider
.send_key_routed(app.wvr_server.as_mut(), key, down);
Ok(EventResult::Consumed)
})
}