From 72249b8a42a7586212b06b2236777e296cfec159 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Wed, 8 Feb 2023 22:38:01 +0100 Subject: [PATCH] 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. --- srcs/juloo.keyboard2/Pointers.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/srcs/juloo.keyboard2/Pointers.java b/srcs/juloo.keyboard2/Pointers.java index 63a5596..ebb6221 100644 --- a/srcs/juloo.keyboard2/Pointers.java +++ b/srcs/juloo.keyboard2/Pointers.java @@ -346,8 +346,6 @@ public final class Pointers implements Handler.Callback private void startKeyRepeat(Pointer ptr) { - if (ptr.value == null) - return; int what = (uniqueTimeoutWhat++); ptr.timeoutWhat = what; _keyrepeat_handler.sendEmptyMessageDelayed(what, _config.longPressTimeout);