From 23cb74030a60c0a0d794b320a451397a559b4f02 Mon Sep 17 00:00:00 2001 From: Lukasz Kostyra Date: Mon, 14 Jul 2014 12:33:03 +0200 Subject: [PATCH] Update input monitor configuration sequence [Bug] Input monitor detected double-pressing, which caused errors. [Cause] Some systems already used double-press as a pattern. [Solution] Change input sequence from double press to triple press. [Verification] Build, install, run SCS with -l TRACE. Run journalctl --unit=security-containers --follow -l Press "HOME" key three times quickly - you should see entries: "Event sequence detected" "Input monitor detected pattern" "switchingSequenceMonitorNotify() called" Change-Id: I52850851f1c72326d50b796d651886c7eec3406c Signed-off-by: Lukasz Kostyra --- server/configs/daemon.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/configs/daemon.conf b/server/configs/daemon.conf index c67f607..9c0eba6 100644 --- a/server/configs/daemon.conf +++ b/server/configs/daemon.conf @@ -7,6 +7,6 @@ "inputConfig" : {"enabled" : true, "device" : "gpio-keys", "code" : 139, - "numberOfEvents" : 2, + "numberOfEvents" : 3, "timeWindowMs" : 500} } -- 2.7.4