summaryrefslogtreecommitdiff
path: root/include/battery.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-05 09:41:42 -0700
committerGerrit <chrome-bot@google.com>2012-10-05 15:21:13 -0700
commit1173102ae1974a7e96dce4e1d03db54817c3113e (patch)
tree340510a572b993ecf1c9956fde3a307659bae6e9 /include/battery.h
parentdd2d41003d9860955b0899a2a7f20f31b2f3a47d (diff)
downloadchrome-ec-1173102ae1974a7e96dce4e1d03db54817c3113e.tar.gz
stm32: Implement keyboard debouncing
This brings Randall's key debounce logic into STM32. We need to rationalize the code, but for this morning... This should fix problems with double keypresses and missing keypresses. BUG=chrome-os-partner:12179 BRANCH=snow TEST=manual - type quickly; should work - run your finger really quickly over the keyboard; should be able to see keys which don't show up because you didn't press them long enough - run your finger quickly from 1 to 0; numbers should show up in order (some may be missing if you sweep too fast. there is a point where if two keys are hit within 1.7ms of each other they can be swapped, but any slower than that and they should never be out of order) - mash your face into the keyboard to cause ghosting; should see only a few keys pressed Change-Id: I6b164a17de1b4dd698f9b45a3852fd3b6c084e0a Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/34765 Commit-Ready: Randall Spangler <rspangler@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/battery.h')
0 files changed, 0 insertions, 0 deletions