From 62257bbb9a20a6cbb339c0b09038cba065f7e680 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Wed, 11 Oct 2023 12:00:29 +0200 Subject: ext-action-binder: improve description for trigger types Signed-off-by: Anna (navi) Figueiredo Gomes --- staging/ext-action-binder/ext-action-binder-v1.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/staging/ext-action-binder/ext-action-binder-v1.xml b/staging/ext-action-binder/ext-action-binder-v1.xml index a32c463..7840ebc 100644 --- a/staging/ext-action-binder/ext-action-binder-v1.xml +++ b/staging/ext-action-binder/ext-action-binder-v1.xml @@ -69,8 +69,8 @@ Sets the namespace:name of the binding. This a kind of action. - - + + @@ -124,9 +124,16 @@ - Depending on the user configuration, an action can be either one-off or + Depending on the user configuration, an action can be either one_shot or sustained. The client must handle all the three event types and either make sense of them or ignore them properly. + + one_shot actions are for events that don't have a defined "end", like a laptop + lid closing, or a gesture. The client should not expect to recieve a released or + ending event for that action. + + sustained actions have a start and an end. after a 'pressed' event is sent, a + 'released' event should eventually be sent as well. -- cgit v1.2.3