commit | 190b0d1a10cff222e8b5e040885b8cecae438f5a | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Mon May 29 11:54:04 2017 +0300 |
committer | Johan Hedberg <johan.hedberg@gmail.com> | Mon May 29 17:31:30 2017 +0300 |
tree | baf170c36bee7129c144aadb52925981bec8a980 | |
parent | 0b16e8ada58b88d0f6e6a2e4c6c7f140d55d06ee [diff] |
samples: microbit/pong: Filter out spurious button presses The buttons on the microbit cause quite easily "ghost" key presses. Add a simple filter that ignores button presses from the same button that happen less than 100ms from each other. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>