#[cfg(feature = "psvr")] mod backend_psvr;
#[cfg(feature = "psvr")] pub use self::backend_psvr::Psvr;
#[cfg(feature = "psvr")] pub use psvr;
use crate::{core::math, info, input, Error};
pub trait HeadMountedDevice {
fn product_name(&self) -> &'static str;
fn orientation(&self) -> math::Quaternion;
fn button(&self, button: input::Button) -> input::ButtonState;
fn properties(&self) -> &info::Properties;
fn update(&mut self) -> Result<(), Error>;
fn power_on(&mut self) -> Result<(), Error>;
fn power_off(&mut self) -> Result<(), Error>;
}