From d312808f20e9358e1eca94dc7f747928d4ee85b1 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 25 Dec 2015 20:46:40 -0800 Subject: altos: Use simpler debounce logic for buttons Instead of waiting for a while after the transition to decide if it has stuck, signal the event right away and then ignore other transitions for the debounce interval. This seems to work just as reliably, but has the benefit of eliminating button latency at press time. Signed-off-by: Keith Packard --- pdclib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdclib') diff --git a/pdclib b/pdclib index 8b1c9061..bd33f664 160000 --- a/pdclib +++ b/pdclib @@ -1 +1 @@ -Subproject commit 8b1c9061fa3a8f1b30ee13b373afe5cc1ad9d382 +Subproject commit bd33f6640cf5882f8630766a9acdd1bc420a9dda -- cgit v1.2.3