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
Guido Günther
1e057eaa0c
doc: Document media-role property
...
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-30 10:52:57 +02:00
Guido Günther
e23c3401f9
fbd-dev-sound: Set special media role when present
...
We default to "event".
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-30 10:52:57 +02:00
Guido Günther
9054862071
feedback-sound: Allow to set media role
...
This will allow us to specify the role when playing the sound.
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-30 10:52:57 +02:00
Guido Günther
0f031521e7
feedback-sound: Modernize prop definitions
...
Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-30 10:52:57 +02:00
Guido Günther
aa23c8f91d
tests: Test sound feedback
...
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-30 10:52:57 +02:00
Guido Günther
a5c7adbf1b
Merge branch 'rgb-multicolor' into 'main'
...
fbd-dev-led-multicolor: Ignore LEDs that don't have three values
See merge request agx/feedbackd!176
2025-04-30 08:52:36 +00:00
Guido Günther
bbd45b7f6a
examples: Add example udev rule for Framework 13 Laptop
...
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-30 08:50:14 +00:00
Guido Günther
a3fdc4852b
fbd-dev-led-multicolor: Ignore LEDs that don't have three values
...
We assume that multicolor LEDs are RGB so reject those that don't
have three components.
E.g. the Framework Laptop exposes a power button LED as multicolor
that only has a white component. This way it gets treated as single color LED.
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-30 08:50:14 +00:00
Guido Günther
3cb34ce43f
Merge branch 'breaks' into 'main'
...
packaging: Fix inverted Breaks
See merge request agx/feedbackd!175
2025-04-30 07:59:15 +00:00
Guido Günther
f931b19756
packaging: Fix inverted Breaks
...
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-27 12:48:36 +02:00
Guido Günther
19e0084133
Merge branch 'doc-updates' into 'main'
...
doc updates
Closes #89
See merge request agx/feedbackd!172
2025-04-24 14:32:27 +00:00
Guido Günther
84b783cbf7
doc: Clarify theme use
...
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-24 12:57:24 +02:00
Guido Günther
eb2cb76635
doc: Fix parent-name reference
...
Closes: https://gitlab.freedesktop.org/agx/feedbackd/-/issues/89
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-24 12:57:24 +02:00
Guido Günther
a646a34741
doc: Reference manpage
...
Refer to manpage rather than to the classes in the source code.
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-24 12:57:24 +02:00
Guido Günther
155814035d
doc: Document Sound properties
...
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-24 12:57:24 +02:00
Guido Günther
78d82207e5
doc: Document missing VibraRumble properties
...
Fixes f089ad2 ("vibra-rumble: Add magnitude property")
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-24 12:57:24 +02:00
Guido Günther
047f83c6b3
doc: Fix typo
...
Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-24 12:57:24 +02:00
Guido Günther
673d372aa0
Merge branch 'ci-fairy' into 'main'
...
ci: Add ci-fairy check
See merge request agx/feedbackd!171
2025-04-23 20:25:51 +00:00
Guido Günther
69a5174f5f
ci: Add ci-fairy check
...
This makes sure we have Signed-off-by:
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-23 22:22:02 +02:00
Guido Günther
44e57d78b7
Merge branch 'main' into 'main'
...
Allow constant lighting of notification LED through the setting of frequency in theme.json to zero.
See merge request agx/feedbackd!169
2025-04-23 20:02:12 +00:00
knoppix knoppix
0e88863a3d
Allow constant lighting of notification LED through the setting of frequency in theme.json to zero.
2025-04-23 20:02:12 +00:00
Guido Günther
b181c942ad
Merge branch 'repo-url' into 'main'
...
treewide: Update repo URLs
See merge request agx/feedbackd!168
2025-04-21 12:44:02 +00:00
Guido Günther
b62ce975f3
README: Add CoC
...
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-20 22:59:13 +02:00
Guido Günther
01d909d4f3
treewide: Update repo URLs
...
We leave changelog and NEWS untouched as they track history.
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-20 22:37:25 +02:00
Guido Günther
eab27ae67a
Merge branch 'ci' into 'main'
...
ci: Update for fdo
See merge request agx/feedbackd!167
2025-04-20 20:01:01 +00:00
Guido Günther
a78941f1d8
ci: Allow coverage collection to fail
...
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-20 21:51:42 +02:00
Guido Günther
384ec20357
ci: Update for fdo
...
Drop the now unneeded tags and the arm64 build
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-04-20 21:46:53 +02:00
Guido Günther
f14642cb04
Merge branch 'rel-0.8.1' into 'main'
...
treewide: Document changes and release 0.8.1
See merge request Librem5/feedbackd!165
2025-03-29 11:28:44 +00:00
Guido Günther
867771a25a
treewide: Document changes and release 0.8.1
...
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-03-29 12:18:10 +01:00
Guido Günther
61e30a7444
packaging: Add Breaks on older device themes
...
This makes sure they don't throw any criticals
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-03-29 12:18:10 +01:00
Guido Günther
cf6d048269
Merge branch 'safe-cleanup' into 'main'
...
libfeedback: Only cancel feedbacks if ever inited
See merge request Librem5/feedbackd!164
2025-03-29 09:06:55 +00:00
Guido Günther
e8ecc3d0c1
libfeedback: Only cancel feedbacks if ever inited
...
If lfb_init() wasn't called before lfb_uninit() we'd otherwise raise a
critical which isn't nice for a library.
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-03-25 21:55:34 +01:00
Guido Günther
a0295286ff
Merge branch 'rel-0.8.0' into 'main'
...
treewide: Document changes and release 0.8.0
See merge request Librem5/feedbackd!163
2025-03-21 18:59:36 +00:00
Guido Günther
98f2c6a01d
treewide: Document changes and release 0.8.0
2025-03-21 19:20:56 +01:00
Guido Günther
f2fde30f60
Merge branch 'periodic-magnitude' into 'main'
...
Use [0.0, 0.1] for periodic pattern too
Closes #86 and #84
See merge request Librem5/feedbackd!162
2025-03-21 18:15:30 +00:00
Guido Günther
3d062c0952
default/theme: Use [0.0, 1.0] for vibra-periodic
...
We switch `message-new-cellbroadcast` to VibraPeriodic as that is better
recognizable than the periodic pattern.
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-03-21 12:15:57 +01:00
Guido Günther
c37bfecbe0
vibra-periodic: Add a fallback for the previous [0, 0xFFFF] range
...
This keeps old themes working
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-03-21 12:15:57 +01:00
Guido Günther
da93a16cda
vibra-periodic: Deserialize magnitude and fade-in-level manually
...
This allows us to add proper fallbacks
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2025-03-21 12:15:56 +01:00