Commit Graph
100 Commits
Author SHA1 Message Date
Guido Günther bbeabb6250 build: Bump meson version to 1.7
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-02-07 08:38:43 +01:00
Guido Günther c158b3c919 doc: Fix typo
Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-02-07 08:38:19 +01:00
Guido Günther 1be162a2e5 Merge branch 'rel-0.8.9' into 'main'
treewide: Document changes and release 0.8.9

See merge request agx/feedbackd!210
2026-02-07 07:31:40 +00:00
Guido Günther 4fe3895a57 treewide: Document changes and release 0.8.9
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-02-06 22:22:48 +01:00
Guido Günther 0e7e47a0bd ci: Override registry
We only use prebuilt images for the ci-checks so use the registry
we're hosting them on.

This should unbreak the meson ans style check jobs.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-02-06 22:22:48 +01:00
Guido Günther 3569d140aa Merge branch 'update-url' into 'main'
ci: Update URL to shared repo

See merge request agx/feedbackd!209
2026-02-06 19:20:38 +00:00
Guido Günther cc10f6081f ci: Update URL to shared repo
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-02-02 22:38:40 +01:00
Guido Günther 73d5879250 Merge branch 'strict-theme' into 'main'
examples: Add a less blinky example

See merge request agx/feedbackd!208
2026-02-02 18:48:20 +00:00
Guido Günther 48df3f2508 examples: Add a less blinky example
Uncategorized notifications can be distracting. Add an example that
disable the notification LED for these. Copy to

~/.config/feedbackd/themes/

and enable via

gsettings set org.sigxcpu.feedbackd theme strict

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-30 14:14:30 +01:00
Guido Günther 1b9573352d doc: Fix json
Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-30 13:22:25 +01:00
Guido Günther a442e2337f Merge branch 'rules-update-multiple-leds' into 'main'
udev: Add support for multiple status LEDs in feedbackd

See merge request agx/feedbackd!207
2026-01-18 10:35:49 +00:00
Guido Günther fad55b1b80 Merge branch 'verbose' into 'main'
feedbackd: Add --verbose, --replace and --version options

See merge request agx/feedbackd!205
2026-01-16 16:08:50 +00:00
Guido Günther f311f76147 feedbackd: Add --version option
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-16 16:38:29 +01:00
Guido Günther 4ca9cb364b feedbackd: Exit with EXIT_FAILURE if we can't get the bus name
Makes usage in scritps and systemd units more robust.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-16 16:38:29 +01:00
Guido Günther 722a8f1c90 feedbackd: Allow replacement and an option for it
This brings us in line with e.g. the portals

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-16 16:38:29 +01:00
Guido Günther 94b35f356a feedbackd: Add --verbose option
Easier to discover than `G_MESSAGES_DEBUG`

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-16 16:38:29 +01:00
Guido Günther 8d0c09522d feedbackd: Fix indent
Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-16 16:38:29 +01:00
Guido Günther 37969cea8e feedback-themes: Improve manpage
Explain relation between profiles, events and feedback a bit better.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-16 16:38:25 +01:00
Guido Günther 3177ae8232 Merge branch 'theme-doc' into 'main'
doc: Document `$device` in device themes

See merge request agx/feedbackd!206
2026-01-16 09:02:56 +00:00
Guido Günther de3acfb5b6 doc: Mention what fbcli is
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-16 09:59:20 +01:00
Guido Günther 6596779bae doc: Clarify event lookup
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-16 09:59:20 +01:00
Guido Günther 6ef4e4ebfd feedback-themes: Mention the profiles feedback types are used in
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-15 22:56:48 +01:00
Guido Günther 724cbd9727 doc: Document $device in device themes
It identifies the theme as device theme so we should document it.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-15 22:56:48 +01:00
Guido Günther ba3ff42794 Merge branch 'theme-doc' into 'main'
doc: Better separate custom and device themes

See merge request agx/feedbackd!204
2026-01-15 15:49:26 +00:00
Guido Günther 175e003fb4 doc: Better separate custom and device themes
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-15 16:41:02 +01:00
Guido Günther 491a95b6f4 Merge branch 'close-event' into 'main'
theme: Fix window-close event name

See merge request agx/feedbackd!203
2026-01-14 20:50:20 +00:00
Guido Günther 0f94cf891f doc: Update build instructions
We use meson and also tweak some other bits for readability

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-14 21:44:23 +01:00
Guido Günther 1f13444e59 theme: Fix window-close event name
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2026-01-09 16:22:29 +01:00
Guido Günther a32dcc63d8 Merge branch 'wp-profile' into 'main'
packaging: Add build profile to build with and install media roles

See merge request agx/feedbackd!202
2025-12-30 22:12:16 +00:00
Guido Günther 96d9d82d51 packaging: Add build profile to build with and install media roles
We create an wireplumber-xdg-media-roles package that contains the role configuration.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-12-30 23:10:22 +01:00
Guido Günther 8ae3449d61 Merge branch 'rel-0.8.8' into 'main'
treewide: Document changes and release 0.8.8

See merge request agx/feedbackd!201
2025-12-30 13:59:25 +00:00
Guido Günther 3cc8663c7e treewide: Document changes and release 0.8.8
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-12-30 10:51:58 +01:00
Guido Günther 4c826a1e7c Merge branch 'max-brightness-scale' into 'main'
Limit pattern brightness based on `max_brightness` too

Closes #95

See merge request agx/feedbackd!199
2025-12-29 17:35:47 +00:00
Guido Günther a108dda1be led-multicolor: Scale to RGB colors to LEDs max brightness
Otherwise we might exceed max brightness and get -EINVAL.

Tested-by: Chris Vogel <chris@ween.de>
Reported-by: Chris Vogel <chris@ween.de>
Closes: https://gitlab.freedesktop.org/agx/feedbackd/-/issues/95
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-12-29 17:33:53 +00:00
Guido Günther 704f93ef15 feedback-led: Document rgb color strings
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-12-29 17:33:53 +00:00
Guido Günther 594b72055c build: Fix meson format
Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-12-29 17:33:53 +00:00
Guido Günther bed9a3b6cf Merge branch 'cleanups' into 'main'
alert-slider: Minor cleanups

See merge request agx/feedbackd!200
2025-12-29 17:32:58 +00:00
Guido Günther 8d00274e02 alert-slider: Minor cleanups
Fix help string and move event into the block it is used in

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-12-24 15:18:47 +01:00
Guido Günther a46c5caf41 Merge branch 'sysuser-pkg' into 'main'
packaging: Use dh-sysuser

See merge request agx/feedbackd!198
2025-12-16 07:33:09 +00:00
Guido Günther 3126921746 packaging: Use dh-sysuser
We can drop adding the group manually. We move the udev triggering
to the end to ensure the group is already there.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-12-15 15:43:49 +01:00
Guido Günther 970d7fbe11 Merge branch 'sysusers' into 'main'
data: Add sysusers configuration

Closes #83

See merge request agx/feedbackd!197
2025-12-15 14:43:00 +00:00
Guido Günther 1b03f66930 Merge branch 'patch-1' into 'main'
72-feedbackd.rules: Add isa1200 haptics driver

See merge request agx/feedbackd!196
2025-11-30 21:38:45 +00:00
Guido Günther ada7e79736 Merge branch 'rel-0.8.7' into 'main'
treewide: Document changes and release 0.8.7

See merge request agx/feedbackd!195
2025-11-08 12:39:43 +00:00
Guido Günther 4641906f43 treewide: Document changes and release 0.8.7
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-11-08 09:44:56 +01:00
Guido Günther 1d7d1cad66 Merge branch 'phone-role' into 'main'
media-roles: Add Phone role

See merge request agx/feedbackd!194
2025-11-02 13:58:59 +00:00
Guido Günther 42bd525d3c media-roles: Add Phone role
E.g. calls and wys already tag streams with this

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-26 08:23:53 +01:00
Guido Günther 7307a4db6f Merge branch 'pw-roles' into 'main'
Set media-roles and add example wireplumber config

See merge request agx/feedbackd!170
2025-10-25 12:58:35 +00:00
Guido Günther f38eb4bb28 data: Add preferred output targets for alarms and alerts
We usually want them to go to the speaker by default.

This needs https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/754

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-25 14:12:16 +02:00
Guido Günther 8090ccb0a9 dev-sound: Only set media role when role based routing is enabled
This allows to already update the theme without breaking existing installations.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther 96b00b6c61 dev-sound: Fix format
Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther 6296c4fe77 build: Allow to install media roles
Install role based config if set.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther d58b7cf517 data: Add media roles configuration
This ensures we properly duck any "multimedia" streams when playing
event sounds. We also introduce an alert group for e.g. cell broadcasts.

For testing copy to

  ~/.config/wireplumber/wireplumber.conf.d/media-role-nodes.conf

and

  systemctl --user restart wireplumber

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther 5de4519710 data: Set suitable media roles for events
Mark alarms, alerts and ring tones.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther 283f2ee1dc run: Simplify running
We usually want the daemon so default to that when nothing
else is passed in.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther f501e909ab Merge branch 'meson' into 'main'
build: Rename options file

See merge request agx/feedbackd!193
2025-10-23 11:53:45 +00:00
Guido Günther a680ad1139 build: Rename options file
Bump needed meson version for that

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-23 13:40:50 +02:00
Guido Günther f0befe1221 Merge branch 'udev' into 'main'
data: Move udev rule to 72 and release 0.8.6

See merge request agx/feedbackd!192
2025-10-05 11:43:15 +00:00
Guido Günther 85021ab0bc treewide: Document changes and release 0.8.6
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-05 13:41:11 +02:00
Guido Günther 96023e5201 packaging: Trigger change event for input subsystem too
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-05 13:41:02 +02:00
Guido Günther 01c2aad1e8 data: Move udev rule to 72
systemd as of 258 requires uaccess tag processing to be < 73.

See https://github.com/systemd/systemd/issues/39206#issuecomment-3368532706

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-05 13:40:57 +02:00
Guido Günther fce1b00540 Merge branch 'docs' into 'main'
Publush API docs

See merge request agx/feedbackd!191
2025-09-30 20:43:42 +00:00
Guido Günther a3af128148 doc: Use gitlab page URL
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-09-30 22:40:39 +02:00
Guido Günther c4b71f89b0 ci: Publish docs
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-09-30 22:40:39 +02:00
Guido Günther ea9c6d556f doc: Clarify NEWS entry
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-09-30 22:22:26 +02:00
Guido Günther eb02a73594 Merge branch 'rel-0.8.5' into 'main'
Release 0.8.5

See merge request agx/feedbackd!190
2025-09-30 17:45:18 +00:00
Guido Günther 1654f00f56 treewide: Document changes and release 0.8.5
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-09-30 14:21:20 +02:00
Guido Günther ef2fb508f2 doc: Update matrix room URL
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-09-30 10:20:09 +02:00
Guido Günther 0f36d3c8d7 Merge branch 'important-vs-app-level' into 'main'
feedback-manager: Let app level cap important level

Closes #93

See merge request agx/feedbackd!188
2025-08-24 09:31:20 +00:00
Guido Günther bd7701220d treewide: Clarify that important affects the global level
The DBus spec had it right but the other places weren't clear
on that.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-08-24 09:28:17 +00:00
Guido Günther ef1e299047 feedback-manager: Let app level cap important level
As per DBus spec the `important` hint is meant to override
the global feedback level not any per app level the user
might have configured as otherwise there's no way to override
this.

Closes: https://gitlab.freedesktop.org/agx/feedbackd/-/issues/93
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-08-24 09:28:17 +00:00
Guido Günther 546fb205ea treewide: Fix feedack typo
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-08-24 09:28:17 +00:00
Guido Günther 284a4eb37d Merge branch 'udev-aw86927' into 'main'
udev: Add rule for AW86927

See merge request agx/feedbackd!189
2025-08-24 09:27:09 +00:00
Guido Günther 69a4ee2538 Merge branch 'rel-0.8.4' into 'main'
treewide: Document changes and release 0.8.4

See merge request agx/feedbackd!187
2025-08-07 07:00:41 +00:00
Guido Günther 2f0b8381a1 treewide: Document changes and release 0.8.4
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-08-06 08:37:56 +02:00
Guido Günther 4f7cc77172 Merge branch 'allow-osk' into 'main'
schema: Allow all OSK to use important hint

See merge request agx/feedbackd!186
2025-07-18 12:31:59 +00:00
Guido Günther 56059b367c schema: Allow all OSK to use important hint
OSK use the common OSK app-id so allow that too.

Fixes: 4ba029d ("schema: Allow Stevia OSK to override the globla feedback level")
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-07-18 14:28:17 +02:00
Guido Günther 0222bc6738 Merge branch 'key-pressed' into 'main'
Add key press/release events

Closes #85

See merge request agx/feedbackd!90
2025-07-16 19:54:36 +00:00
Guido Günther 4ba029df17 schema: Allow Stevia OSK to override the globla feedback level
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-07-16 19:52:45 +00:00
Guido Günther ed523e8755 data: Add key press/release events
While we have "button-{pressed,released}" events there's often the
desire to control sound for key presses of e.g. on screen keyboards too.
Add separate events for that.

This allows us to e.g. add a particular sound for OSK key presses and
OSKs can send this with an `important` hint so they're also usable
in silent mode.

Closes: https://gitlab.freedesktop.org/agx/feedbackd/-/issues/85
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-07-16 19:52:45 +00:00
Guido Günther 46790e9efb doc: Sort events alphabetically
While we have "button-{pressed,released}" events there's often the
desire to control sound for key presses of e.g. on screen keyboards too.
Add a separate event for that.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-07-16 19:52:45 +00:00
Guido Günther a37ce16eab Merge branch 'legacy' into 'main'
fbd-dev-led: support leds with legacy naming scheme

See merge request agx/feedbackd!185
2025-07-16 19:39:31 +00:00
Guido Günther d155b2e305 Merge branch 'rel-0.8.3' into 'main'
Release 0.8.3

See merge request agx/feedbackd!184
2025-06-28 07:29:44 +00:00
Guido Günther 62b43a4a88 treewide: Document changes and release 0.8.3
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-06-25 19:44:55 +02:00
Guido Günther 6244a1203e libfeedback: Indicate that the library is cross desktop
The only non generic thing is that we pick up the sound
scheme from GNOME when available but we'd happily extend
that to other DEs.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-06-25 19:43:08 +02:00
Guido Günther 86f3c39aee Merge branch 'udev-gpio-vibra' into 'main'
udev: Align rule for gpio-vibrator

See merge request agx/feedbackd!183
2025-06-25 08:16:08 +00:00
Guido Günther 43d4380271 Merge branch 'udev-more-haptics' into 'main'
udev: Add more haptic driver rules

See merge request agx/feedbackd!182
2025-06-22 17:42:22 +00:00
Guido Günther d643716186 Merge branch 'lib/build_target_library' into 'main'
build: Use library() instead of build_target() for libfeedback

See merge request agx/feedbackd!181
2025-06-13 16:19:10 +00:00
Guido Günther a8b2fd40a0 Merge branch 'fbcli-manpage' into 'main'
doc: Update fbcli manpage

See merge request agx/feedbackd!179
2025-05-20 14:08:11 +00:00
Guido Günther 2819e94e8a doc: Update fbcli manpage
There's some more options nowadays

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-20 14:05:56 +00:00
Guido Günther 3a978016cb Merge branch 'compile-schema' into 'main'
build: Use gnome.post_install

See merge request agx/feedbackd!180
2025-05-20 14:05:08 +00:00
Guido Günther c05f9c41c0 build: Use gnome.post_install
Allows us to drop a custom script

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-11 21:58:38 +02:00
Guido Günther d7d39d18df Merge branch 'rel-0.8.2' into 'main'
treewide: Document changes and release 0.8.2

See merge request agx/feedbackd!178
2025-05-10 08:27:15 +00:00
Guido Günther 4016f35643 treewide: Document changes and release 0.8.2
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-09 21:46:59 +02:00
Guido Günther 55559c33b8 Merge branch 'virbra-fix' into 'main'
vibra-pattern: Don't overwrite magnitudes

See merge request agx/feedbackd!177
2025-05-09 19:40:02 +00:00
Guido Günther ee8a9dd553 vibra-pattern: Don't overwrite magnitudes
When determining the value for the rumble we assigned the result to the
value in the array thus potentially overwriting the value from the theme.

This goes unnoticed as long as we don't lower the global `max_strength`
below the magnitude. But when we e.g. set the `max_strength` to
zero the device will fail to rumble when we increase `max_strength`
later on again.

Steps to reproduce:

  - Use an event that used `VibraRumble`, e.g. `button-press`
    in the oneplus,fajita device theme
  - `fbcli -E button-pressed` -> works
  - set haptic feedback to 0%:
    `gsettings set org.sigxcpu.feedbackd max-haptic-strength 0.0`
  - set it back to 100%:
    `gsettings set org.sigxcpu.feedbackd max-haptic-strength 1.0`
  - `fbcli -E button-pressed` -> no feedback

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-09 19:37:41 +00:00
Guido Günther 32cf0758d2 vibra: Some style and comment fixes
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-09 19:37:41 +00:00
Guido Günther 5cbd5a2893 Merge branch 'led-prio' into 'main'
dev-led: Sort leds by priority

See merge request agx/feedbackd!173
2025-05-06 15:03:42 +00:00
Guido Günther f9f248ef23 fbd-dev-led: Sort leds by priority
This makes sure we e.g. prefer multicolor leds over single color ones
and those that can be on insuspend (qcom) over those that can't.

We can extend this to allow to set the priority via udev/hwdb in the
future.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-06 14:54:52 +00:00
Guido Günther 651c4f9fac fbd-dev-led: Ignore leds that can't handle patterns
While in theory we could have themes with only freq = 0 values we
currently assume there can be patterns.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-06 14:54:52 +00:00
Guido Günther a2cbcc624f Merge branch 'media-roles' into 'main'
sound: Allow to set media roles

See merge request agx/feedbackd!174
2025-04-30 08:56:30 +00:00