Commit Graph
46 Commits
Author SHA1 Message Date
Guido Günther 8e4f15758b data: Refresh schema when it changed
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-08 22:14:54 +01:00
Guido Günther 70fd0a8759 data/haptic: Document duration unit in the protocol
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-06 10:57:37 +01:00
Guido Günther 836fbe0920 treewide: Fix typos
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-06 10:57:37 +01:00
Guido Günther 99cc84c646 build: Format meson files
This will make adding future files less noisy.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-03-05 11:30:50 +00:00
Guido Günther e7df74f5cc data: Document sound-file hint
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-01-26 16:12:13 +01:00
Guido Günther 93dc859f7d data: Add vibration API
The API is meant to trigger the given vibration pattern on the haptic
device. The pattern is sequence of relative amplitude and duration
pairs. A magnitude of 0.0 indicates a pause.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2024-12-15 18:54:40 +01:00
Guido Günther fb64c9dcfb data: Really add gnome-clocks
Fixes d5b2042 ("data: Add gnome-clocks to allow-important list")

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2024-12-12 17:36:31 +01:00
Guido Günther f629ef431c theme: Add notification-missed-new
We'll remove message-new-notification somewhat later to not break
existing themes.

This reverts commit 5cc9713984778e61c4218e8ff6d896324cba5d5d.
2024-10-02 14:48:01 +02:00
Guido Günther d5b2042475 data: Add gnome-clocks to allow-important list
This will allow us to drop the override from phosh
2024-09-27 07:27:08 +00:00
Guido Günther 2293393999 data: Allow alert-slider to override the feedback level
This allows the alert-slider to also emit feedback when phone is in
silent mode.
2024-09-27 07:27:08 +00:00
Guido Günther 7ea55aeaf5 data: Add systemd unit to start alert slider service 2024-09-27 07:27:08 +00:00
Guido Günther 8c27a8f5d2 data: Allow logged in users to access the alert slider 2024-09-27 07:27:08 +00:00
Robert Mader 30bafbfe55 udev-rules: Add support for haptics on Google Sargo
The drv2624 driver isn't in mainline Linux as of Linux 6.11.

Taken from
https://gitlab.com/postmarketOS/pmaports/-/blob/434e012950bd121b2b9295fcf0699ed8af287a3d/device/community/device-google-sargo/90-feedbackd-drv2624.rules
2024-09-25 12:13:33 +00:00
Guido Günther dc12f3016f theme: Add events for cellbroadcast 2024-09-23 12:18:26 +00:00
Guido Günther 9007766fa9 udev: Add support for haptics on Oneplus Enchilada / Fajita
The spmi_haptics driver isn't in mainline Linux as of Linux 6.11.
2024-09-07 16:12:01 +02:00
Guido Günther 47b0b1c0e7 build: Install udev rule
Don't hide it in the packaging as that makes it easier to miss.

This makes debian/ really only carry packaging information.
2024-08-07 12:14:26 +02:00
Guido Günther 8f67dbd120 feedback-led: Allow to prefer flash LEDs over notification LEDs 2024-06-15 11:14:40 +02:00
Guido Günther afdeb8d56f theme: Use different colors for emails and calls
This makes them a bit simpler to distinguish
2024-06-13 15:19:08 +02:00
Guido Günther 7640a73e82 data/schema: Add 'allow-override' gsetting
This allows to list apps that can override the currently
effective feedback level by setting the 'impotant' hint in
the event.
2024-04-20 13:21:56 +00:00
Guido Günther f71ece5d8b data/dbus: Document important hint
The important hint can be used by apps to override the current per app
or system wide feedback level (if the feedback server allows it).
2024-04-20 13:21:56 +00:00
Guido Günther 106663e41c data/dbus: Document current flags 2024-04-20 13:21:56 +00:00
Guido Günther d73677dfff build: Validate schema file 2024-04-20 13:21:56 +00:00
Guido Günther 0d50276f94 feedback-theme: Add screen-shot event
Used to indicate that a screen shot is being taken.
2023-01-02 11:45:11 +01:00
Guido Günther c3beac7d41 data: Allow to set feedback theme 2022-12-11 17:34:38 +01:00
Guido Günther 7b7422f98e build: Bump required meson version 2022-12-06 11:49:13 +01:00
Guido Günther 2e081602f6 data: Drop outdated comment
We use the hints since some time, see lfb_event_set_feedback_profile().
2022-07-20 18:32:47 +00:00
Evangelos Ribeiro Tzaras b2a8061cdc doc: Clarify that the timeout is in seconds 2021-10-29 18:00:02 +02:00
Evangelos Ribeiro Tzaras 5a439107bc feedback-theme: Add phone-outgoing-busy event
Named after the corresponding notification from the sound naming spec:
http://0pointer.de/public/sound-naming-spec.html
2021-10-08 14:12:42 +00:00
Evangelos Ribeiro Tzaras 48892de89a feedback-theme: Add phone-failure event
Named after the corresponding notification from the sound naming spec:
http://0pointer.de/public/sound-naming-spec.html
2021-10-08 14:12:42 +00:00
Evangelos Ribeiro Tzaras c783918f5b feedback-theme: Add phone-hangup event
Named after the corresponding notification from the sound naming spec:
http://0pointer.de/public/sound-naming-spec.html
2021-10-08 14:12:42 +00:00
Guido Günther 83ba584a53 feedback-theme: Add camera related events 2021-09-06 12:49:41 +02:00
Dylan Van Assche e4cdd0bcff data/meson.build: fix validating theme files
The foreach loop was not used to validate all the include theme files
2021-01-01 18:37:30 +01:00
Guido Günther 200ec77362 Add 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.
2020-07-05 19:25:44 +00:00
Guido Günther 75f6888334 data: Use LED feedback for missed calls, IMs and SMS 2020-07-05 19:25:44 +00:00
Guido Günther 20ba06a193 data: Drop phone-missed-call in 'quite' profile
Only want LEDs there.
2020-07-05 19:25:44 +00:00
Guido Günther 1af281d8e2 data: Clarify DBus wording 2020-06-02 16:36:24 +00:00
Sebastian Krzyszkowiak a985d0dd9f data: Add button-released event 2020-05-28 16:05:10 +00:00
Sebastian Krzyszkowiak ff1c2993e6 data: Lower rumble time for window-close and button-pressed even more
Haptic feedback for touchscreen input should be as subtle as possible
to not make it distracting.
2020-05-28 16:05:10 +00:00
Guido Günther 10b1c90d57 data: Lower rumble time for window-close and button press
It's too intrusive otherwise
2020-04-20 11:31:14 +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
Guido Günther eec1556d87 data: Add schema for per app settings 2020-04-20 07:23:44 +00:00
Guido Günther 49e5656ac1 theme: Add feedbacks for window-close and button-press 2020-04-20 07:23:44 +00:00
Guido Günther 4d484c9cc9 theme: order feedbacks alphabetically
We don't have better ordering but this makes is simple
to check if a feedback is present in a certain level.
2020-04-20 07:23:44 +00:00
Guido Günther c54ff7fcb9 theme: Add timeout-completed event 2020-02-25 14:05:38 +00:00
Guido Günther 0be818a1e1 theme: Fix typo 2020-02-25 14:05:38 +00:00
Guido Günther 3663b7d149 Initial commit
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2020-02-14 17:40:34 +01:00