#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type ConditionForceEffect = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Gaming_Input_ForceFeedback'*"]
#[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;
#[doc = "*Required features: 'Gaming_Input_ForceFeedback'*"]
#[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
}
}
#[doc = "*Required features: 'Gaming_Input_ForceFeedback'*"]
#[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
}
}
#[doc = "*Required features: 'Gaming_Input_ForceFeedback'*"]
#[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;
#[doc = "*Required features: 'Gaming_Input_ForceFeedback'*"]
#[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;