summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorJes Klinke <jbk@google.com>2019-06-06 15:11:14 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-11 20:09:29 +0000
commitb20056a70b8ad1f0f07dad0790aeab6dc7aa24b9 (patch)
tree831c49e8528564560c2178db3781590b02c15b9b /driver
parentb662af8066a01502429b84879c4e3a885ec10e1b (diff)
downloadchrome-ec-b20056a70b8ad1f0f07dad0790aeab6dc7aa24b9.tar.gz
keyboard_scan: Send kb events at start of debouncing period.
Current behavior is to start a timer upon first detecting a transition of any one cell of the keyboard matrix, and then generate a keyboard event (press or release) only after that timer has expired. Due to the fact that the release timer has a longer period than the press timer, in some cases, e.g. releasing the shift key right before depressing another key, events could end up getting re-ordered. BUG=chromium:547131 BRANCH=master TEST=make run-kb_scan Signed-off-by: Jes Klinke <jbk@google.com> Change-Id: If3de2e629dc9df4325d8c17590d6624a41e27187 Bug: 547131 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1579905 Tested-by: Jes Klinke <jbk@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Jes Klinke <jbk@chromium.org>
Diffstat (limited to 'driver')
0 files changed, 0 insertions, 0 deletions