abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Config.java
diff options
context:
space:
mode:
authorJules Aguillon2023-01-30 22:33:01 +0100
committerJules Aguillon2023-01-30 22:33:01 +0100
commit90b7944129ae0facc5c789f0a416f7ff36925a90 (patch)
treeedb7f6523230719a799315430ea8efe88aecffe9 /srcs/juloo.keyboard2/Config.java
parent2539feadcd370e98d3750f6b6b06664e0eb14d0b (diff)
downloadunexpected-keyboard-90b7944129ae0facc5c789f0a416f7ff36925a90.tar.gz
unexpected-keyboard-90b7944129ae0facc5c789f0a416f7ff36925a90.zip
Apply modify_layout to text layout only
Refactor. Allows to remove the 'extra_keys' and 'num_pad' flags and to implement more complicated transformations to the layouts.
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
-rw-r--r--srcs/juloo.keyboard2/Config.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index b9546b2..691a424 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -170,7 +170,7 @@ final class Config
if (extra_keys_subtype != null)
extra_keys.addAll(extra_keys_subtype);
extra_keys.addAll(extra_keys_param);
- if (kw.num_pad && show_numpad)
+ if (show_numpad)
kw = kw.addNumPad();
kw = kw.mapKeys(new KeyboardData.MapKeyValues() {
/** Apply to the center value only. Partial match, fallback to [apply]. */