Crate libfeedback

Source

Re-exports§

pub use ffi;

Modules§

functions

Structs§

Event
An event triggering feedback to the user

Enums§

EventEndReason
Enum values used to indicate why the feedbacks for an event ended.
EventState
Enum values to indicate the current state of the feedbacks triggered by an event.

Functions§

init
Tries to initialize Lfb.
is_initialized
Returns true if Lfb has been initialized.
is_initialized_main_thread
Returns true if Lfb has been initialized and this is the main thread.
set_initialized
Informs this crate that Lfb has been initialized and the current thread is the main one.