From 6c40e0604a876c73e83ffc7ab693f0bf2db878cc Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 23 Mar 2025 14:58:11 +0100 Subject: [PATCH] Add a preferred position for selectAll --- srcs/juloo.keyboard2/prefs/ExtraKeysPreference.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcs/juloo.keyboard2/prefs/ExtraKeysPreference.java b/srcs/juloo.keyboard2/prefs/ExtraKeysPreference.java index bcb7ad9..a0be7a9 100644 --- a/srcs/juloo.keyboard2/prefs/ExtraKeysPreference.java +++ b/srcs/juloo.keyboard2/prefs/ExtraKeysPreference.java @@ -338,6 +338,13 @@ public class ExtraKeysPreference extends PreferenceCategory new KeyboardData.KeyPos(2, -1, 8), new KeyboardData.KeyPos(-1, -1, 8), }); + case "selectAll": + return new KeyboardData.PreferredPos(KeyValue.getKeyByName("a"), + new KeyboardData.KeyPos[]{ + new KeyboardData.KeyPos(1, 0, 8), + new KeyboardData.KeyPos(1, -1, 8), + new KeyboardData.KeyPos(-1, -1, 8), + }); case "redo": return new KeyboardData.PreferredPos(KeyValue.getKeyByName("y"), new KeyboardData.KeyPos[]{