From 5da0e4ff5df852405380dcaea2d27e4cd8e1674d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sat, 8 Mar 2025 16:30:38 +0100 Subject: [PATCH 1/2] data: Add an event for notification-new-generic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We didn't do so until now to not make people go crazy with buzzing phones. Now that we can fine tune the feedback strength better lets see how this works. Signed-off-by: Guido Günther --- data/default.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/default.json b/data/default.json index 26406a4..467a5c4 100644 --- a/data/default.json +++ b/data/default.json @@ -147,6 +147,12 @@ "type" : "VibraRumble", "duration" : 150 }, + { + "event-name" : "notification-new-generic", + "type" : "VibraPattern", + "magnitudes" : [ 0.25, 0.0, 0.25 ], + "durations" : [ 50, 250, 50 ] + }, { "event-name" : "phone-incoming-call", "type" : "VibraPeriodic", From 24aafefd0ac9e831a5db2f55168d4f9b3c66bc90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sat, 8 Mar 2025 22:19:02 +0100 Subject: [PATCH 2/2] data: Make button press feedback less intrusive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way it can be kept enabled in more situations. Signed-off-by: Guido Günther --- data/default.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/default.json b/data/default.json index 467a5c4..4be8cec 100644 --- a/data/default.json +++ b/data/default.json @@ -109,8 +109,9 @@ }, { "event-name" : "button-pressed", - "type" : "VibraRumble", - "duration" : 15 + "type" : "VibraPattern", + "magnitudes" : [ 0.2 ], + "durations" : [ 7 ] }, { "event-name" : "button-released",