Compare commits
11
Commits
73d5879250
...
047ab2305f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
047ab2305f | ||
|
|
49acf146b8 | ||
|
|
aff07778e7 | ||
|
|
d6bf54753d | ||
|
|
bbeabb6250 | ||
|
|
c158b3c919 | ||
|
|
1be162a2e5 | ||
|
|
4fe3895a57 | ||
|
|
0e7e47a0bd | ||
|
|
3569d140aa | ||
|
|
cc10f6081f |
+4
-2
@@ -1,7 +1,7 @@
|
||||
---
|
||||
include:
|
||||
- remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/6a40df92957c8ce9ee741aaccc5daaaf70545b1e/templates/ci-fairy.yml'
|
||||
- remote: 'https://gitlab.gnome.org/guidog/meta-phosh/-/raw/0ed15edd821f8afacbf7a9c0f2a6266873289115/ci/phosh-common-jobs.yml'
|
||||
- remote: 'https://gitlab.gnome.org/World/Phosh/meta-phosh/-/raw/fe94386c4e4f088e96955194cb9d405df0654563/ci/phosh-common-jobs.yml'
|
||||
|
||||
stages:
|
||||
- build
|
||||
@@ -10,7 +10,9 @@ stages:
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
FDO_UPSTREAM_REPO: agx/feedbackd
|
||||
FDO_UPSTREAM_REPO: feedbackd/feedbackd
|
||||
# ci-check image comes from here
|
||||
CI_REGISTRY: registry.gitlab.gnome.org
|
||||
|
||||
workflow:
|
||||
rules:
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
feedbackd 0.8.9
|
||||
---------------
|
||||
Released February 2026
|
||||
* Improve docs
|
||||
* Add custom theme example
|
||||
* udev: Match LED on devices with multiple status LEDs
|
||||
* Simplify using media roles via build profile
|
||||
* theme: Fix window-close event name
|
||||
* Contributors:
|
||||
* Guido Günther
|
||||
* stsdc
|
||||
|
||||
feedbackd 0.8.8
|
||||
---------------
|
||||
Released December 2025
|
||||
@@ -5,8 +17,8 @@ Released December 2025
|
||||
* Create uses via systemd-sysusers
|
||||
* Fix max brightness for LED patterns on multicolor LEDs
|
||||
* Issues fixed:
|
||||
* https://gitlab.freedesktop.org/agx/feedbackd/-/issues/83
|
||||
* https://gitlab.freedesktop.org/agx/feedbackd/-/issues/95
|
||||
* https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues/83
|
||||
* https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues/95
|
||||
* Contributors:
|
||||
* Achill Gilgenast
|
||||
* Guido Günther
|
||||
@@ -33,7 +45,7 @@ Released September 2025
|
||||
level not the app's feedback level
|
||||
* Add udev rule for FP5 haptic
|
||||
* Issues fixed:
|
||||
* https://gitlab.freedesktop.org/agx/feedbackd/-/issues/93
|
||||
* https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues/93
|
||||
* Contributors:
|
||||
* Guido Günther
|
||||
* Luca Weiss
|
||||
@@ -46,7 +58,7 @@ Released August 2025
|
||||
* Add `key-pressed` and `key-released` events that e.g. OSKs can
|
||||
use to emit haptic feedback in silent mode
|
||||
* Issues fixed:
|
||||
* https://gitlab.freedesktop.org/agx/feedbackd/-/issues/85
|
||||
* https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues/85
|
||||
* Contributors:
|
||||
* Guido Günther
|
||||
* Sicelo A. Mhlongo
|
||||
@@ -70,7 +82,7 @@ Released May 2025
|
||||
* vibra: Preserve original feedback value when the user changed
|
||||
strength
|
||||
* Issues fixed:
|
||||
* https://gitlab.freedesktop.org/agx/feedbackd/-/issues/89
|
||||
* https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues/89
|
||||
* Contributors:
|
||||
* Guido Günther
|
||||
* knoppix knoppix
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Theme based Haptic, Visual and Audio Feedback
|
||||
|
||||
feebackd provides a DBus daemon (feebackd) to act on events to provide
|
||||
feedbackd provides a DBus daemon (feedbackd) to act on events to provide
|
||||
haptic, visual and audio feedback. It offers a library
|
||||
([libfeedback][libfeedback-api]) and GObject introspection bindings to
|
||||
ease using it from applications.
|
||||
@@ -11,13 +11,13 @@ specification][event-spec].
|
||||
|
||||
## License
|
||||
|
||||
feebackd is licensed under the GPLv3+ while the libfeedback library is
|
||||
feedbackd is licensed under the GPLv3+ while the libfeedback library is
|
||||
licensed under LGPL 2.1+.
|
||||
|
||||
## Getting the source
|
||||
|
||||
```sh
|
||||
git clone https://gitlab.freedesktop.org/agx/feedbackd
|
||||
git clone https://gitlab.freedesktop.org/feedbackd/feedbackd.git
|
||||
cd feedbackd
|
||||
```
|
||||
|
||||
@@ -39,7 +39,7 @@ For an explicit list of dependencies check the `Build-Depends` entry in the
|
||||
|
||||
## Building
|
||||
|
||||
We use the meson (and thereby Ninja) build system for feebackd. The quickest
|
||||
We use the meson (and thereby Ninja) build system for feedbackd. The quickest
|
||||
way to get going is to do the following:
|
||||
|
||||
```sh
|
||||
@@ -88,7 +88,7 @@ See `examples/` for a simple python example using GObject introspection.
|
||||
## Events, Feedbacks and Profiles
|
||||
|
||||
Whenever an event is submitted to the daemon by a client via the DBus
|
||||
API *feebackd* looks up the corresponding feedbacks in the profiles
|
||||
API *feedbackd* looks up the corresponding feedbacks in the profiles
|
||||
of the currently active feedback theme. Which feedbacks are actually
|
||||
triggered depends on the daemon's current *feedback* *level*, per
|
||||
application settings and hints provided by the client with the event.
|
||||
@@ -103,7 +103,7 @@ get canceled if the app that triggered them crashes.
|
||||
|
||||
Each theme consists of up to three profile sections named `full`,
|
||||
`quiet` and `silent` containing event names and their associated
|
||||
feedback. feebackd's currently selected profile determines which
|
||||
feedback. feedbackd's currently selected profile determines which
|
||||
profiles of the current theme are being used for event lookup:
|
||||
|
||||
- `full`: Use events from the `full`, `quiet` and `silent` profiles of
|
||||
@@ -131,12 +131,12 @@ are mapped to feedbacks (sound, LED, vibra) via a configurable theme.
|
||||
|
||||
There are two types of themes: *custom* themes and *device* themes.
|
||||
They both use the same format but have different purpose. Custom
|
||||
themes are meant to tweak feebackd's output to the users needs while
|
||||
themes are meant to tweak feedbackd's output to the users needs while
|
||||
device themes are meant to cater for hardware differences.
|
||||
|
||||
#### Custom themes
|
||||
|
||||
feebackd is shipped with a default theme `default.json`. You can
|
||||
feedbackd is shipped with a default theme `default.json`. You can
|
||||
replace this by your own, custom theme in multiple ways:
|
||||
|
||||
1. By exporting an environment variable `FEEDBACK_THEME` with a path to a
|
||||
@@ -147,7 +147,7 @@ replace this by your own, custom theme in multiple ways:
|
||||
default to `$HOME/.config`
|
||||
|
||||
1. By creating a theme file under `$XDG_CONFIG_HOME/feedbackd/themes/custom.json` and
|
||||
telling feebackd to use that theme. In this custom theme you only
|
||||
telling feedbackd to use that theme. In this custom theme you only
|
||||
specify the events you want to change. Also add a `parent-name` entry
|
||||
to chain up to the default theme:
|
||||
|
||||
@@ -167,7 +167,7 @@ replace this by your own, custom theme in multiple ways:
|
||||
[here](./tests/data/user-config/feedbackd/themes/custom.json) for
|
||||
an example.
|
||||
|
||||
Once you have the file in place, tell feebackd to use this theme
|
||||
Once you have the file in place, tell feedbackd to use this theme
|
||||
instead of the default one:
|
||||
|
||||
```sh
|
||||
@@ -199,7 +199,7 @@ be used to avoid having to restart the daemon in case of configuration changes.
|
||||
|
||||
### Device themes
|
||||
|
||||
feebackd has support to pick up device specific themes
|
||||
feedbackd has support to pick up device specific themes
|
||||
automatically. This allows us to handle device differences like
|
||||
varying strength of haptic motors or different LED colors in an
|
||||
automatic way.
|
||||
@@ -332,7 +332,7 @@ gsettings set org.sigxcpu.feedbackd.application:/org/sigxcpu/feedbackd/applicati
|
||||
## Haptic API
|
||||
|
||||
In order to give applications like browsers and games more control
|
||||
over the haptic motor `Feebackd` implements an interface that allows
|
||||
over the haptic motor `Feedbackd` implements an interface that allows
|
||||
to set vibra patterns. The vibration pattern is given as a sequence of
|
||||
rumble magnitude and duration pairs like:
|
||||
|
||||
@@ -351,12 +351,12 @@ a haptic device is found.
|
||||
|
||||
## Getting in Touch
|
||||
|
||||
- Issue tracker: <https://gitlab.freedesktop.org/agx/feedbackd/-/issues>
|
||||
- Issue tracker: <https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues>
|
||||
- Chat via Matrix: <https://matrix.to/#/#phosh:phosh.mobi>
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
Note that since feedbackd is hosted on freedesktop.org, feebackd follows its
|
||||
Note that since feedbackd is hosted on freedesktop.org, feedbackd follows its
|
||||
[Code of Conduct], based on the Contributor Covenant. Please conduct yourself
|
||||
in a respectful and civilized manner when communicating with community members
|
||||
on IRC and bug tracker.
|
||||
@@ -369,7 +369,7 @@ on IRC and bug tracker.
|
||||
- [W3's vibration API draft](https://www.w3.org/TR/vibration/)
|
||||
|
||||
[debian/control]: ./debian/control#L5
|
||||
[1]: https://gitlab.freedesktop.org/agx/feedbackd-device-themes
|
||||
[1]: https://gitlab.freedesktop.org/feedbackd/feedbackd-device-themes
|
||||
[feedback-themes]: ./doc/feedback-themes.rst
|
||||
[Code of Conduct]: https://www.freedesktop.org/wiki/CodeOfConduct/
|
||||
[feedbackd-themes manpage]: ./doc/feedbackd-themes.rst
|
||||
|
||||
Vendored
+43
-6
@@ -1,3 +1,40 @@
|
||||
feedbackd (0.8.9) experimental; urgency=medium
|
||||
|
||||
[ Guido Günther ]
|
||||
* packaging: Add build profile to build with and install media roles.
|
||||
We create an wireplumber-xdg-media-roles package that contains the role configuration.
|
||||
* theme: Fix window-close event name
|
||||
* doc: Update build instructions.
|
||||
We use meson and also tweak some other bits for readability
|
||||
* doc: Better separate custom and device themes
|
||||
* doc: Document `$device` in device themes.
|
||||
It identifies the theme as device theme so we should document it.
|
||||
* feedback-themes: Mention the profiles feedback types are used in
|
||||
* doc: Clarify event lookup
|
||||
* doc: Mention what fbcli is
|
||||
* feedback-themes: Improve manpage.
|
||||
Explain relation between profiles, events and feedback a bit better.
|
||||
* feedbackd: Add --verbose option.
|
||||
Easier to discover than `G_MESSAGES_DEBUG`
|
||||
* feedbackd: Allow replacement and an option for it.
|
||||
This brings us in line with e.g. the portals
|
||||
* feedbackd: Exit with EXIT_FAILURE if we can't get the bus name.
|
||||
Makes usage in scritps and systemd units more robust.
|
||||
* feedbackd: Add --version option
|
||||
* 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
|
||||
* ci: Update URL to shared repo
|
||||
|
||||
[ stsdc ]
|
||||
* udev: Match on devices with multiple status LEDs
|
||||
* rules: Update regex for status LED device path
|
||||
|
||||
-- Guido Günther <agx@sigxcpu.org> Fri, 06 Feb 2026 20:23:49 +0100
|
||||
|
||||
feedbackd (0.8.8) experimental; urgency=medium
|
||||
|
||||
[ Lukas Timmermann ]
|
||||
@@ -6,7 +43,7 @@ feedbackd (0.8.8) experimental; urgency=medium
|
||||
[ Achill Gilgenast ]
|
||||
* data: Add sysusers configuration.
|
||||
Allows distros to add the feedbackd group by using sd-sysusers.
|
||||
Closes: https://gitlab.freedesktop.org/agx/feedbackd/-/issues/83
|
||||
Closes: https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues/83
|
||||
|
||||
[ Guido Günther ]
|
||||
* packaging: Use dh-sysuser.
|
||||
@@ -19,7 +56,7 @@ feedbackd (0.8.8) experimental; urgency=medium
|
||||
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
|
||||
Closes: https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues/95
|
||||
|
||||
-- Guido Günther <agx@sigxcpu.org> Tue, 30 Dec 2025 10:49:55 +0100
|
||||
|
||||
@@ -76,7 +113,7 @@ feedbackd (0.8.5) experimental; urgency=medium
|
||||
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
|
||||
Closes: https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues/93
|
||||
* treewide: Clarify that `important` affects the global level.
|
||||
The DBus spec had it right but the other places weren't clear
|
||||
on that.
|
||||
@@ -110,7 +147,7 @@ feedbackd (0.8.4) experimental; urgency=medium
|
||||
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
|
||||
Closes: https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues/85
|
||||
* schema: Allow Stevia OSK to override the globla feedback level
|
||||
* schema: Allow all OSK to use important hint.
|
||||
OSK use the common OSK app-id so allow that too.
|
||||
@@ -161,7 +198,7 @@ feedbackd (0.8.2) experimental; urgency=medium
|
||||
* doc: Reference manpage.
|
||||
Refer to manpage rather than to the classes in the source code.
|
||||
* doc: Fix parent-name reference.
|
||||
Closes: https://gitlab.freedesktop.org/agx/feedbackd/-/issues/89
|
||||
Closes: https://gitlab.freedesktop.org/feedbackd/feedbackd/-/issues/89
|
||||
* doc: Clarify theme use
|
||||
* packaging: Fix inverted Breaks
|
||||
* fbd-dev-led-multicolor: Ignore LEDs that don't have three values.
|
||||
@@ -1265,7 +1302,7 @@ feedbackd (0.0.0+git20200420) amber; urgency=medium
|
||||
feedbackd (0.0.0+git20200305) amber-phone; urgency=medium
|
||||
|
||||
* feedbackd-common: Add proper Breaks/Replaces.
|
||||
This handles partial upgrades with newer schema but old feebackd.
|
||||
This handles partial upgrades with newer schema but old feedbackd.
|
||||
|
||||
-- Guido Günther <agx@sigxcpu.org> Mon, 23 Mar 2020 10:21:14 +0100
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ Build-Depends:
|
||||
umockdev,
|
||||
valac,
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://gitlab.freedesktop.org/agx/feedbackd
|
||||
Homepage: https://gitlab.freedesktop.org/feedbackd/feedbackd
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: feedbackd
|
||||
|
||||
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: feedbackd
|
||||
Upstream-Contact: Guido Günther <agx@debian.org>
|
||||
Source: https://gitlab.freedesktop.org/agx/feedbackd
|
||||
Source: https://gitlab.freedesktop.org/feedbackd/feedbackd
|
||||
|
||||
Files: *
|
||||
Copyright: 2020 Purism SPC
|
||||
|
||||
@@ -67,7 +67,7 @@ silent:
|
||||
```
|
||||
|
||||
At the time of writing the theme format is daemon dependent. E.g. feedbackd
|
||||
uses a format [similar to the above in JSON](https://gitlab.freedesktop.org/agx/feedbackd/-/blob/main/data/default.json)
|
||||
uses a format [similar to the above in JSON](https://gitlab.freedesktop.org/feedbackd/feedbackd/-/blob/main/data/default.json)
|
||||
|
||||
# Recommendations
|
||||
|
||||
@@ -77,4 +77,4 @@ uses a format [similar to the above in JSON](https://gitlab.freedesktop.org/agx/
|
||||
be used.
|
||||
- The full feedback theme can use any available feedback mechanisms
|
||||
|
||||
[Event naming spec]: https://gitlab.freedesktop.org/agx/feedbackd/-/blob/main/doc/Event-naming-spec-0.0.0.md
|
||||
[Event naming spec]: https://gitlab.freedesktop.org/feedbackd/feedbackd/-/blob/main/doc/Event-naming-spec-0.0.0.md
|
||||
|
||||
+2
-2
@@ -4,7 +4,7 @@ Slug: building
|
||||
# Compiling with libfeedback
|
||||
|
||||
If you need to build libfeedback, get the source from
|
||||
[here](https://gitlab.freedesktop.org/agx/feedbackd) and see the `README.md` file.
|
||||
[here](https://gitlab.freedesktop.org/feedbackd/feedbackd) and see the `README.md` file.
|
||||
|
||||
## Using `pkg-config`
|
||||
|
||||
@@ -27,7 +27,7 @@ Libfeedback can be used as a Meson subproject. Create a
|
||||
```ini
|
||||
[wrap-git]
|
||||
directory=libfeedback
|
||||
url=https://gitlab.freedesktop.org/agx/feedbackd.git
|
||||
url=https://gitlab.freedesktop.org/feedbackd/feedbackd.git
|
||||
revision=main
|
||||
depth=1
|
||||
```
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ OPTIONS
|
||||
``-E=EVENT``, ``--event=EVENT``
|
||||
Submit the given event to ``feedbackd``. Valid events are listes in
|
||||
the event naming spec at
|
||||
https://gitlab.freedesktop.org/agx/feedbackd/-/blob/main/doc/Event-naming-spec-0.0.0.md
|
||||
https://gitlab.freedesktop.org/feedbackd/feedbackd/-/blob/main/doc/Event-naming-spec-0.0.0.md
|
||||
|
||||
``-I``, ``--important``
|
||||
Whether to set the important hint
|
||||
|
||||
@@ -24,17 +24,17 @@ ignored.
|
||||
Each event maps to at most one feedback in each profile. The events
|
||||
in the theme are named according to the
|
||||
`Event Naming Specifiaction
|
||||
<https://gitlab.freedesktop.org/agx/feedbackd/-/blob/main/doc/Event-naming-spec-0.0.0.md>`_.
|
||||
<https://gitlab.freedesktop.org/feedbackd/feedbackd/-/blob/main/doc/Event-naming-spec-0.0.0.md>`_.
|
||||
|
||||
There are two types of themes: *custom* themes and *device* themes.
|
||||
They both use the same format but have different purpose. Custom
|
||||
themes are meant to tweak feebackd's output to the user's needs while
|
||||
themes are meant to tweak feedbackd's output to the user's needs while
|
||||
device themes are meant to cater for hardware differences. Feedback
|
||||
themes use a JSON format that can be validated with
|
||||
``fbd-theme-validate(1)``.
|
||||
|
||||
For details on how to create or modify feedback themes see
|
||||
``feedbackd's documentation`` at https://gitlab.freedesktop.org/agx/feedbackd#feedback-theme.
|
||||
``feedbackd's documentation`` at https://gitlab.freedesktop.org/feedbackd/feedbackd#feedback-theme.
|
||||
|
||||
Feedback types
|
||||
--------------
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ client disconnects from DBus. This makes sure all feedbacks get canceled if the
|
||||
app that triggered it crashes.
|
||||
|
||||
For details refer to the event and feedback theme specs at
|
||||
`<https://gitlab.freedesktop.org/agx/feedbackd/>`__.
|
||||
`<https://gitlab.freedesktop.org/feedbackd/feedbackd/>`__.
|
||||
|
||||
Feedbackd reloads the feedback theme on `SIGHUP` (i.e. `pkill -HUP feedbackd`).
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@ version = "@VERSION@"
|
||||
description = "A library to trigger feedback (such as haptic feedback) via events sent by your application."
|
||||
authors = "Purism SPC"
|
||||
license = "LGPL-2.1-or-later"
|
||||
browse_url = "https://gitlab.freedesktop.org/agx/feedbackd/"
|
||||
repository_url = "https://gitlab.freedesktop.org/agx/feedbackd.git"
|
||||
website_url = "https://gitlab.freedesktop.org/agx/feedbackd/"
|
||||
browse_url = "https://gitlab.freedesktop.org/feedbackd/feedbackd/"
|
||||
repository_url = "https://gitlab.freedesktop.org/feedbackd/feedbackd.git"
|
||||
website_url = "https://gitlab.freedesktop.org/feedbackd/feedbackd/"
|
||||
dependencies = [
|
||||
"Gio-2.0",
|
||||
"GLib-2.0",
|
||||
@@ -30,7 +30,7 @@ show_class_hierarchy = true
|
||||
|
||||
[source-location]
|
||||
# The base URL for the web UI
|
||||
base_url = "https://gitlab.freedesktop.org/agx/feedbackd/-/blob/main/"
|
||||
base_url = "https://gitlab.freedesktop.org/feedbackd/feedbackd/-/blob/main/"
|
||||
# The format for links, using "filename" and "line" for the format
|
||||
file_format = "{filename}#L{line}"
|
||||
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
project(
|
||||
'feedbackd',
|
||||
'c',
|
||||
version: '0.8.8',
|
||||
version: '0.8.9',
|
||||
license: 'LGPLv3+',
|
||||
meson_version: '>= 1.1.0',
|
||||
meson_version: '>= 1.7.0',
|
||||
default_options: ['warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11'],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user