Struct ovr_sys::ovrTouchHapticsDesc [] [src]

#[repr(C)]
pub struct ovrTouchHapticsDesc { pub _align: [isize; 0], pub SampleRateHz: c_int, pub SampleSizeInBytes: c_int, pub QueueMinSizeToAvoidStarvation: c_int, pub SubmitMinSamples: c_int, pub SubmitMaxSamples: c_int, pub SubmitOptimalSamples: c_int, }

Describes the Touch Haptics engine. Currently, those values will NOT change during a session.

Fields

Haptics engine frequency/sample-rate, sample time in seconds equals 1.0/sampleRateHz

Size of each Haptics sample, sample value range is [0, 2^(Bytes*8)-1]

Queue size that would guarantee Haptics engine would not starve for data Make sure size doesn't drop below it for best results

Minimum, Maximum and Optimal number of samples that can be sent to Haptics through ovr_SubmitControllerVibration

Trait Implementations

impl Debug for ovrTouchHapticsDesc
[src]

Formats the value using the given formatter.

impl Copy for ovrTouchHapticsDesc
[src]

impl Clone for ovrTouchHapticsDesc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more