diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Devices/Haptics/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Devices/Haptics/mod.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Devices/Haptics/mod.rs b/vendor/windows-sys/src/Windows/Devices/Haptics/mod.rs new file mode 100644 index 000000000..08e492732 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Devices/Haptics/mod.rs @@ -0,0 +1,18 @@ +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; |