watch & edit to use theme.xml; device batteries

This commit is contained in:
galister
2025-11-30 18:01:52 +09:00
parent 363c2d533c
commit 6c5ab63bec
13 changed files with 304 additions and 116 deletions

View File

@@ -237,7 +237,10 @@ pub fn openxr_run(
if next_device_update <= Instant::now()
&& let Some(monado) = &mut monado
{
OpenXrInputSource::update_devices(&mut app, monado);
let changed = OpenXrInputSource::update_devices(&mut app, monado);
if changed {
overlays.devices_changed(&mut app)?;
}
next_device_update = Instant::now() + Duration::from_secs(30);
}