summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkanata/chords.py4
-rw-r--r--kanata/kanata.kbd26
2 files changed, 23 insertions, 7 deletions
diff --git a/kanata/chords.py b/kanata/chords.py
index 7b6fbb2..1400ad0 100755
--- a/kanata/chords.py
+++ b/kanata/chords.py
@@ -22,10 +22,10 @@ for keys, macro in chord_data.items():
macro_formatted += f"(unicode {char}) "
macro_formatted = macro_formatted.strip()
- release = "all-released"
+ release = "first-release"
chord_line = f" ({keys_formatted}) (macro {first_char_macro} {
- macro_formatted}) 75 {release} (arrows)\n"
+ macro_formatted}) 75 {release} (gaming)\n"
output += chord_line
output += ")\n"
diff --git a/kanata/kanata.kbd b/kanata/kanata.kbd
index 6cc3782..3b27728 100644
--- a/kanata/kanata.kbd
+++ b/kanata/kanata.kbd
@@ -1,7 +1,7 @@
(defcfg
process-unmapped-keys yes
concurrent-tap-hold yes
- chords-v2-min-idle-experimental 200
+ chords-v2-min-idle-experimental 5
)
(defsrc
@@ -10,6 +10,9 @@
caps a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl lmet lalt spc ralt rmet rctl
+
+ NumpadDivide
+ NumpadMultiply
)
(deflayer default
@@ -18,6 +21,20 @@
@cap _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
+
+ (layer-switch default)
+ (layer-switch gaming)
+)
+
+(deflayer gaming
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ @cap _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _
+
+ (layer-switch default)
+ (layer-switch gaming)
)
(deflayer arrows
@@ -26,6 +43,9 @@
_ _ _ _ _ _ left down up rght _ _ _
_ _ _ _ _ @cle _ _ _ _ _ _
_ _ _ _ _ _ _
+
+ _
+ _
)
(defalias
@@ -35,7 +55,3 @@
)
(include chords.kbd)
-
-;;(defchordsv2-experimental
-;; (a s d) (macro h (unshift e) (unshift l) (unshift l) (unshift o)) 75 all-released (arrows)
-;;)