From 0d51f7ea1e44719b7508e55e622545c3535822a2 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sat, 16 Nov 2024 11:46:43 +0100 Subject: [PATCH] Don't apply Fn to space bar left and right "home" and "end" on the spacebar slider are not useful. --- srcs/juloo.keyboard2/KeyModifier.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/srcs/juloo.keyboard2/KeyModifier.java b/srcs/juloo.keyboard2/KeyModifier.java index ba230dc..cc016de 100644 --- a/srcs/juloo.keyboard2/KeyModifier.java +++ b/srcs/juloo.keyboard2/KeyModifier.java @@ -211,7 +211,6 @@ public final class KeyModifier case Keyevent: name = apply_fn_keyevent(k.getKeyevent()); break; case Event: name = apply_fn_event(k.getEvent()); break; case Placeholder: name = apply_fn_placeholder(k.getPlaceholder()); break; - case Cursor_move: name = apply_fn_cursormove(k.getCursorMove()); break; } return (name == null) ? k : KeyValue.getKeyByName(name); } @@ -257,16 +256,6 @@ public final class KeyModifier } } - private static String apply_fn_cursormove(short cur) - { - switch (cur) - { - case -1 : return "home"; // cursor_left - case 1 : return "end"; // cursor_right - default: return null; - } - } - private static KeyValue apply_ctrl(KeyValue k) { if (_modmap != null)