mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-29 02:33:24 +01:00
Fix arrow keys not repeating
The special handling of arrow keys have been removed in 854eff2
. Key
repeat was not starting when the key0 was empty.
This commit is contained in:
parent
82b2bf6dfb
commit
72249b8a42
@ -346,8 +346,6 @@ public final class Pointers implements Handler.Callback
|
|||||||
|
|
||||||
private void startKeyRepeat(Pointer ptr)
|
private void startKeyRepeat(Pointer ptr)
|
||||||
{
|
{
|
||||||
if (ptr.value == null)
|
|
||||||
return;
|
|
||||||
int what = (uniqueTimeoutWhat++);
|
int what = (uniqueTimeoutWhat++);
|
||||||
ptr.timeoutWhat = what;
|
ptr.timeoutWhat = what;
|
||||||
_keyrepeat_handler.sendEmptyMessageDelayed(what, _config.longPressTimeout);
|
_keyrepeat_handler.sendEmptyMessageDelayed(what, _config.longPressTimeout);
|
||||||
|
Loading…
Reference in New Issue
Block a user