Guido Günther
|
67ebeba2b2
|
feedback-vibra-periodic: Implement is_available
This avoids criticals when there's no periodic vibra available.
|
2020-07-22 10:28:42 +00:00 |
|
Guido Günther
|
1af163e7ea
|
feedback-vibra-rumble: Implement is_available
This avoids criticals when there's no rumble vibra available.
|
2020-07-22 10:28:42 +00:00 |
|
Guido Günther
|
75e28510e4
|
fbd-feedback-led: Implement is_available ()
This avoids criticals when there's no Leds available.
|
2020-07-22 10:28:42 +00:00 |
|
Guido Günther
|
e8dfe6974a
|
fbd-feedback-manager: Check if feedback is usable
If we don't find any usable feedbacks for an event return
FBD_EVENT_END_REASON_NOT_FOUND.
|
2020-07-22 10:28:42 +00:00 |
|
Guido Günther
|
542fe52cc2
|
feedback-manager: Fix indentation
|
2020-07-22 10:28:42 +00:00 |
|
Guido Günther
|
94ef60f73e
|
fbd-feedback-base: Add fbd_feedback_is_available ()
This allows to check if a feedback type is available
at all.
|
2020-07-22 10:28:42 +00:00 |
|
Guido Günther
|
f950cfc3a2
|
fbd-dev-sound: Be less verbose on missing sound files
This is quite common so don't fill the logs at normal debug levels
but be more specific about what is missing.
|
2020-07-20 16:19:17 +02:00 |
|
Arnaud Ferraris
|
4bcf9d9fbb
|
fbd-dev-leds: store LED color when parsing devices
Failing to do so will always select the first recognized LED (the blue
one for the PinePhone).
|
2020-07-14 15:33:32 +00:00 |
|
Arnaud Ferraris
|
24956d7208
|
fbd-ledctrl: fix typo
|
2020-07-12 16:57:19 +02:00 |
|
Guido Günther
|
6692d8922b
|
feedback-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
|
2020-07-10 09:20:04 +00:00 |
|
Guido Günther
|
421c163bdd
|
feedback-manager: Prepare for per event hints
Move feedback profile level into a separate function for that.
|
2020-07-10 09:20:04 +00:00 |
|
Guido Günther
|
76da62738c
|
Revert "rumble: Use a default pause"
This reverts commit 551030b436.
|
2020-07-10 11:17:18 +02:00 |
|
Guido Günther
|
551030b436
|
rumble: Use a default pause
Without that multiple counts sound odd so let's have good defaults.
|
2020-07-09 12:53:15 +00:00 |
|
Guido Günther
|
a5b4f99412
|
feedbackd: 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.
|
2020-07-05 19:25:44 +00:00 |
|
Guido Günther
|
b561114800
|
feedbackd: 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.
|
2020-07-05 19:25:44 +00:00 |
|
Guido Günther
|
bdf251e565
|
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.
|
2020-06-02 16:36:24 +00:00 |
|
Guido Günther
|
5d947f51b1
|
feedback-manager: Fix indentation and typo
|
2020-06-02 16:36:24 +00:00 |
|
Guido Günther
|
784152ba67
|
feedback-manager: Drop superfluous g_clear_error
The error is a g_autoptr
|
2020-06-02 16:36:24 +00:00 |
|
Guido Günther
|
81fda3134b
|
feedback-vibra: Make doc strings match the class name
|
2020-06-02 16:36:24 +00:00 |
|
Guido Günther
|
35f35b8bb4
|
feedback-profile: Fix docstring
|
2020-06-02 16:36:24 +00:00 |
|
Guido Günther
|
6c0ac9ad6c
|
feedback-sound: Plug a leak
We did not free the effect name
|
2020-06-02 16:36:24 +00:00 |
|
Guido Günther
|
00c363293a
|
Honor sound theme on GNOME
We don't set this for other DEs since they might want to pick
a good default from elsewhere.
|
2020-05-26 18:39:58 +02:00 |
|
Rasmus Thomsen
|
851b46f4a4
|
build: add proper dependencies on gdbus-codgen-generated headers
Without this it was possible that ninja built a target that needs
the generated header before the header was generated
fixes #14
|
2020-04-24 15:25:11 +02:00 |
|
Guido Günther
|
9cb62dee1d
|
Allow to lower the feedback level per application
We munge the application id the same way as it's done
for notifications so these can eventually move into
the same schema.
|
2020-04-20 07:23:44 +00:00 |
|
Rasmus Thomsen
|
4839853662
|
fbd-feedback-profile: use G_GSIZE_FORMAT instead of hardcoding lu
On 32-bit platforms lu doesn't apply since GType is defined as a gsize
fixes #15
|
2020-03-01 18:13:11 +01:00 |
|
Guido Günther
|
3663b7d149
|
Initial commit
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
2020-02-14 17:40:34 +01:00 |
|