forked from extern/Unexpected-Keyboard
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
|
else
|
||||||
{
|
{
|
||||||
int what = _currentWhat++;
|
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));
|
_downKeys.add(new KeyDown(pointerId, key, touchX, touchY, what));
|
||||||
}
|
}
|
||||||
vibrate();
|
vibrate();
|
||||||
|
Loading…
Reference in New Issue
Block a user