Audio and Haptic Feedback¶
Use of sounds and haptic feedback within the Phosh environment is controlled by the feedback service.
The feedback service is implemented using the
libfeedback library and the
feedback daemon. The source code for these components can be found in the feedbackd repository.
The feedbackd documentation describes how the
libfeedback library can be used in applications. It describes the API for C applications and for languages using GObject introspection.
The daemon also provides a D-Bus API that an application can access from within a Flatpak sandbox, assuming that the application has requested the appropriate permission. See the feedbackd D-Bus interface documentation for information about how to interact with it.