lesavka/client/src/input/camera.rs

22 lines
443 B
Rust
Raw Normal View History

2025-06-08 22:24:14 -05:00
// client/src/input/camera.rs
use anyhow::Result;
/// A stub camera aggregator or capture
pub struct CameraCapture {
// no real fields yet
}
impl CameraCapture {
pub fn new_stub() -> Self {
// in real code: open /dev/video0, set formats, etc
CameraCapture {}
}
/// Called regularly to capture frames or do nothing
pub fn process_frames(&mut self) -> Result<()> {
// no-op
Ok(())
}
}