diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:32 +0000 |
commit | 4547b622d8d29df964fa2914213088b148c498fc (patch) | |
tree | 9fc6b25f3c3add6b745be9a2400a6e96140046e9 /vendor/windows-sys-0.28.0/src/Windows/Gaming/Input/ForceFeedback/mod.rs | |
parent | Releasing progress-linux version 1.66.0+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-4547b622d8d29df964fa2914213088b148c498fc.tar.xz rustc-4547b622d8d29df964fa2914213088b148c498fc.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Gaming/Input/ForceFeedback/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Gaming/Input/ForceFeedback/mod.rs | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Gaming/Input/ForceFeedback/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Gaming/Input/ForceFeedback/mod.rs deleted file mode 100644 index a0587cc22..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ /dev/null @@ -1,79 +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 ConditionForceEffect = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ConditionForceEffectKind(pub i32); -impl ConditionForceEffectKind { - pub const Spring: Self = Self(0i32); - pub const Damper: Self = Self(1i32); - pub const Inertia: Self = Self(2i32); - pub const Friction: Self = Self(3i32); -} -impl ::core::marker::Copy for ConditionForceEffectKind {} -impl ::core::clone::Clone for ConditionForceEffectKind { - fn clone(&self) -> Self { - *self - } -} -pub type ConstantForceEffect = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ForceFeedbackEffectAxes(pub u32); -impl ForceFeedbackEffectAxes { - pub const None: Self = Self(0u32); - pub const X: Self = Self(1u32); - pub const Y: Self = Self(2u32); - pub const Z: Self = Self(4u32); -} -impl ::core::marker::Copy for ForceFeedbackEffectAxes {} -impl ::core::clone::Clone for ForceFeedbackEffectAxes { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct ForceFeedbackEffectState(pub i32); -impl ForceFeedbackEffectState { - pub const Stopped: Self = Self(0i32); - pub const Running: Self = Self(1i32); - pub const Paused: Self = Self(2i32); - pub const Faulted: Self = Self(3i32); -} -impl ::core::marker::Copy for ForceFeedbackEffectState {} -impl ::core::clone::Clone for ForceFeedbackEffectState { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct ForceFeedbackLoadEffectResult(pub i32); -impl ForceFeedbackLoadEffectResult { - pub const Succeeded: Self = Self(0i32); - pub const EffectStorageFull: Self = Self(1i32); - pub const EffectNotSupported: Self = Self(2i32); -} -impl ::core::marker::Copy for ForceFeedbackLoadEffectResult {} -impl ::core::clone::Clone for ForceFeedbackLoadEffectResult { - fn clone(&self) -> Self { - *self - } -} -pub type ForceFeedbackMotor = *mut ::core::ffi::c_void; -pub type IForceFeedbackEffect = *mut ::core::ffi::c_void; -pub type PeriodicForceEffect = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PeriodicForceEffectKind(pub i32); -impl PeriodicForceEffectKind { - pub const SquareWave: Self = Self(0i32); - pub const SineWave: Self = Self(1i32); - pub const TriangleWave: Self = Self(2i32); - pub const SawtoothWaveUp: Self = Self(3i32); - pub const SawtoothWaveDown: Self = Self(4i32); -} -impl ::core::marker::Copy for PeriodicForceEffectKind {} -impl ::core::clone::Clone for PeriodicForceEffectKind { - fn clone(&self) -> Self { - *self - } -} -pub type RampForceEffect = *mut ::core::ffi::c_void; |