abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Pointers.java
diff options
context:
space:
mode:
authorJules Aguillon2024-05-29 11:59:54 +0200
committerGitHub2024-05-29 11:59:54 +0200
commit1a290f96f26b848a217ee5db3d6d5920c7c38a27 (patch)
tree575b7f70c389d6b5ed2fd0e789e2374d5f7ab3bf /srcs/juloo.keyboard2/Pointers.java
parent304375268d520687d41dc7834c442347d638da9c (diff)
downloadunexpected-keyboard-1a290f96f26b848a217ee5db3d6d5920c7c38a27.tar.gz
unexpected-keyboard-1a290f96f26b848a217ee5db3d6d5920c7c38a27.zip
Configure anticircle gesture per-key (#644)
This adds the new 'anticircle' attribute to layouts '<key>' 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.
Diffstat (limited to 'srcs/juloo.keyboard2/Pointers.java')
-rw-r--r--srcs/juloo.keyboard2/Pointers.java2
1 files changed, 1 insertions, 1 deletions
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
}