A force feedback report.
Create a new force feedback report which disables any ongoing force feedback.
Create a new force feedback report with the given parameters.
intensity: how intense is the force feedback
up_time: the duration of each vibration
down_time: the time off between each vibration
times: the number of times to vibrate
Send this report as an HID message to the given device.
Safety: although not memory unsafe, the operation must be done on a readily available device handle for the Atari Classic Controller. The effects on any other device are unknown and potentially dangerous.
pub fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl StructuralEq for FfReport[src]
impl StructuralPartialEq for FfReport[src]
impl RefUnwindSafe for FfReport
impl UnwindSafe for FfReport
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.