abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2
diff options
context:
space:
mode:
authorJules Aguillon2024-11-17 11:09:24 +0100
committerJules Aguillon2024-11-17 11:09:24 +0100
commit237c4e2cc2afa07f1d20c9a73dd7f69478943327 (patch)
treeaf9c49603e808943f3ef4ac6aa04f4981935089b /srcs/juloo.keyboard2
parent9bf0a2022666456f9e8d709fd0dd96f5e37c576a (diff)
downloadunexpected-keyboard-237c4e2cc2afa07f1d20c9a73dd7f69478943327.tar.gz
unexpected-keyboard-237c4e2cc2afa07f1d20c9a73dd7f69478943327.zip
Automatic Shift should be disabled when pressing Ctrl
This was caused by a programming error.
Diffstat (limited to 'srcs/juloo.keyboard2')
-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 0b24b8f..5bcdcda 100644
--- a/srcs/juloo.keyboard2/Pointers.java
+++ b/srcs/juloo.keyboard2/Pointers.java
@@ -110,7 +110,7 @@ public final class Pointers implements Handler.Callback
if (latched)
add_fake_pointer(key, kv, lock);
}
- else if ((ptr.flags & FLAG_P_FAKE) != 0)
+ else if ((ptr.flags & FLAG_P_FAKE) == 0)
{} // Key already latched but not by a fake ptr, do nothing.
else if (lock)
{