mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-12-23 22:48:54 +01:00
Fix key repeat on meta keys and empty keys
This commit is contained in:
parent
4870fae20d
commit
8f3d1a4d38
@ -225,7 +225,8 @@ public class Keyboard2View extends View
|
||||
else
|
||||
{
|
||||
int what = _currentWhat++;
|
||||
_handler.sendEmptyMessageDelayed(what, _longPressTimeout);
|
||||
if (key.key0 != null && (key.key0.getFlags() & KeyValue.FLAG_NOCHAR) == 0)
|
||||
_handler.sendEmptyMessageDelayed(what, _longPressTimeout);
|
||||
_downKeys.add(new KeyDown(pointerId, key, touchX, touchY, what));
|
||||
}
|
||||
vibrate();
|
||||
|
Loading…
Reference in New Issue
Block a user