feat: dummy screens and battery states for uidev (#36)

This commit is contained in:
galister
2024-04-17 14:34:55 +02:00
committed by GitHub
parent 42ab3a3199
commit f6a9db5759
3 changed files with 59 additions and 9 deletions

View File

@@ -2,8 +2,6 @@ use std::{collections::VecDeque, time::Instant};
use glam::{Affine3A, Vec2, Vec3A};
#[cfg(feature = "openvr")]
use ovr_overlay::TrackedDeviceIndex;
use smallvec::{smallvec, SmallVec};
use crate::backend::common::snap_upright;
@@ -16,9 +14,6 @@ use super::{
};
pub struct TrackedDevice {
#[cfg(feature = "openvr")]
pub index: TrackedDeviceIndex,
pub valid: bool,
pub soc: Option<f32>,
pub charging: bool,
pub role: TrackedDeviceRole,