LfbEvent: Add feedback-profile property

This allows to specify the feedback profile to use for
this particular event.
This commit is contained in:
Guido Günther
2020-07-10 09:20:04 +00:00
committed by Guido Gunther
parent 6692d8922b
commit 50aeb79ec9
4 changed files with 82 additions and 4 deletions
+1
View File
@@ -161,6 +161,7 @@ test_lfb_integration_event_async (void)
cmp = NULL;
event10 = lfb_event_new ("test-dummy-10");
lfb_event_set_feedback_profile (event10, "quiet");
success = lfb_event_trigger_feedback (event10, &err);
g_assert_no_error (err);
g_assert_true (success);