From 1a290f96f26b848a217ee5db3d6d5920c7c38a27 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Wed, 29 May 2024 11:59:54 +0200 Subject: Configure anticircle gesture per-key (#644) This adds the new 'anticircle' attribute to layouts '' elements that configure the key to send when doing a anti-clockwise circle gesture on it. Labels are drawn the same way as indication. Updated docs.--- srcs/juloo.keyboard2/Pointers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'srcs/juloo.keyboard2/Pointers.java') diff --git a/srcs/juloo.keyboard2/Pointers.java b/srcs/juloo.keyboard2/Pointers.java index 8de4832..01d95bd 100644 --- a/srcs/juloo.keyboard2/Pointers.java +++ b/srcs/juloo.keyboard2/Pointers.java @@ -500,7 +500,7 @@ public final class Pointers implements Handler.Callback modify_key_with_extra_modifier(ptr, ptr.key.keys[0], KeyValue.Modifier.GESTURE); case Anticircle: - return _handler.modifyKey(ptr.key.keys[0], ptr.modifiers); + return _handler.modifyKey(ptr.key.anticircle, ptr.modifiers); } return ptr.value; // Unreachable } -- cgit v1.2.3