Struct sdl2_sys::haptic::SDL_HapticCondition [] [src]

pub struct SDL_HapticCondition {
    pub type_: uint16_t,
    pub direction: SDL_HapticDirection,
    pub length: uint32_t,
    pub delay: uint16_t,
    pub button: uint16_t,
    pub interval: uint16_t,
    pub right_sat: [uint16_t; 3],
    pub left_sat: [uint16_t; 3],
    pub right_coeff: [int16_t; 3],
    pub left_coeff: [int16_t; 3],
    pub deadband: [uint16_t; 3],
    pub center: [int16_t; 3],
}

Fields

type_
direction
length
delay
button
interval
right_sat
left_sat
right_coeff
left_coeff
deadband
center

Trait Implementations

Derived Implementations

impl Clone for SDL_HapticCondition

fn clone(&self) -> SDL_HapticCondition

fn clone_from(&mut self, source: &Self)

impl Copy for SDL_HapticCondition