feedback-manager: Only act on add
We would otherwise ignore the action when no vibra device was yet found. Make sure we release the old device when updating.
View Articlelibfeedback: Unset _initted early
This make sure a client does not end up in our shutdown phase and sees a half initted library.
View Articlelibfeedback: Cancel all running feedbacks on uninit
We keep track of the active ids and end them on uninit. This make sure feedbacks don't continue to run if the application quits and forgets to end a feedback.
View Articlefbcli: Quit main loop on CTRL-C / SIGTERM
This makes sure we invoke the cleanup function correctly and allows to test running event handling.
View ArticleAdd "button-released" to the event naming spec
It has been added to the default theme in a985d0dd.
View Articlefeedbackd: Add helper to set up permissions for LEDs
This helper knows about the tiggers and necessary permission. It's intended to be run via udev.
View Articledebian: Setup leds via udev
This allows feedbackd to set periodic feedback and makes usable LED devices identifiable by feedbackd.
View Articlefeedbackd: Support visual feedback via LEDs
Currently all LED feedbacks are infinite we can improve that later on by using the 'repeat' attribute of the LED pattern trigger.
View ArticleAdd generic missed notification
This can be used e.g. by the shell for general purpose notifictions but also for in app notifications of the foreground app.
View Articlerumble: Use a default pause
Without that multiple counts sound odd so let's have good defaults.
View Articlefeedback-manager: Prepare for per event hints
Move feedback profile level into a separate function for that.
View Articlefeedback-manager: Add hint to select feedback profile per event
This e.g. allows events that are meant for haptic only to avoid emitting a sound by omitting the 'full' level and using "quiet" instead. Closes: #7
View ArticleLfbEvent: Add feedback-profile property
This allows to specify the feedback profile to use for this particular event.
View Articlecli: Allow to set profile per event
We allowed set the global profile via `-P` use it as per event profile when used with `-E`. Ironically the manpage always said it'd be that way.
View Articledebian: Bump symbol versions
This ensures we get tighter dependencies when built against this version with new symbols. We don't bother with individual symbols yet.
View Articledoc: feedbackd: add short description
Lintian issues a warning if short description is empty.
View Articlelfb-event: Clarify return values of `finished` functions
They just inidicate that we talked to feedbackd succesfully.
View Articlelfb-event: Connect done handler in async case too
Otherwise the event state is not updated properly
View Articletests: Don't quiet mainloop on event end
This is needed to properly test aync where we have the finished async event handler and the signal.
View Article