agwells / dotdash-keyboard-android

The world's most popular open source Morse code keyboard for Android! (probably)
GNU General Public License v3.0
32 stars 5 forks source link

Supporting for touching two keys at once #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Put one finger down on the dot button, and hold it down
2. Put another finger down on the dash button
3. Release both fingers, in either order

Preferred result: See a dot, followed by a dash
Actual result: See a single dot

DotDash Keyboard is built around the standard Android API KeyboardView class. 
Unfortunately, this class's support for multi-touch seems to be mostly based 
around safeguarding against multi-button mashing on keyboards with small keys. 
If you press two points at once, it counts it as a single keypress of the first 
key touched, until all touch points are released.

This trips me up whenever I try to type at high speed, especially if I'm trying 
to type with one finger over the dot and another finger over the dash. 
Invariably, I'll put one finger down before the other is released, and the 
result is the second finger-press is ignored.

To resolve this, I'll either have to overwrite portions of KeyboardView, or 
ditch it and use some other View.

I'll definitely have to resolve this to do iambic input, since that is 
multi-touch by definition.

Original issue reported on code.google.com by aaronwells on 6 Apr 2012 at 2:04

GoogleCodeExporter commented 9 years ago

Original comment by aaronwells on 6 Apr 2012 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by aaronwells on 2 Sep 2012 at 11:54

agwells commented 8 years ago

See "multitouch" branch. Finally making progress on this!