Fix key debounce (was too aggressive and buggy) and dismiss mini keyboard on cancel event.

Set a 70ms debounce time - i.e., if you spend less than 70ms on the touch-up key,
which was less time than the time spent on the previous key (assuming they weren't the same),
then don't emit the last key. Use the previous key that you lingered on for longer.
1 file changed