diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/Haptics/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Devices/Haptics/mod.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Haptics/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Haptics/mod.rs deleted file mode 100644 index 8c41a6155..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Haptics/mod.rs +++ /dev/null @@ -1,20 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type SimpleHapticsController = *mut ::core::ffi::c_void; -pub type SimpleHapticsControllerFeedback = *mut ::core::ffi::c_void; -#[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; |