summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-12-25 20:46:40 -0800
committerKeith Packard <keithp@keithp.com>2016-04-19 23:21:30 -0400
commitaef5049cf8311927fada922730f85f31c8ddf177 (patch)
treeeff015922409e59ed960a7a30eb58f37b66af267 /src/kernel
parent4c2a7503373c0584de77f9b0e5632a58ab8bbd1f (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'src/kernel')
0 files changed, 0 insertions, 0 deletions