Namespace
Lfb – 0.0
A library to trigger feedback (such as haptic feedback) via events sent by your application.
Classes
Event |
An event triggering feedback to the user. since: 0.0 |
GdbusFeedbackProxy |
The since: 0.0 |
GdbusFeedbackSkeleton |
The since: 0.0 |
Interfaces
GdbusFeedback |
Abstract interface type for the D-Bus interface org.sigxcpu.Feedback. since: 0.0 |
Enumerations
EventEndReason |
Enum values used to indicate why the feedbacks for an event ended. since: 0.0 |
EventState |
Enum values to indicate the current state of the feedbacks triggered by an event. since: 0.0 |
Functions
get_app_id |
Get the application id set via since: 0.0 |
get_feedback_profile |
Gets the currently set feedback profile. since: 0.0 |
get_proxy |
This can be used to access the lower level API e.g. to listen to property changes. The object is not owned by the caller. Don’t unref it after use. since: 0.0 |
init |
Initialize libfeedback. This must be called before any other of libfeedback’s functions. since: 0.0 |
is_initted |
Gets whether or not libfeedback is initialized. since: 0.0 |
set_app_id |
Sets the application id. since: 0.0 |
set_feedback_profile |
Sets the active feedback profile to #profile. It is up to the feedback
daemon to ignore this request. The new profile might not become active
immediately. You can listen to changes since: 0.0 |
uninit |
Uninitialize the library when no longer used. Usually called on program shutdown. since: 0.0 |