blob: 08e4927324c8159f1031ad538613058ef36289bb [file] [log] [blame]
pub type SimpleHapticsController = *mut ::core::ffi::c_void;
pub type SimpleHapticsControllerFeedback = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Haptics\"`*"]
#[repr(transparent)]
pub struct VibrationAccessStatus(pub i32);
impl VibrationAccessStatus {
pub const Allowed: Self = Self(0i32);
pub const DeniedByUser: Self = Self(1i32);
pub const DeniedBySystem: Self = Self(2i32);
pub const DeniedByEnergySaver: Self = Self(3i32);
}
impl ::core::marker::Copy for VibrationAccessStatus {}
impl ::core::clone::Clone for VibrationAccessStatus {
fn clone(&self) -> Self {
*self
}
}
pub type VibrationDevice = *mut ::core::ffi::c_void;