Configuring with Kanata #51
-
|
First off, thanks for making OverKeys (OK) <3 Secondly, I'm currently working with arsenik kanata configs. I am at a bit of a loss trying to figure out how to configure the I can see in the kanata.exe console window that OK is connecting to it and kanata is re-sending its layer when OK connects to it. OK is constantly showing me some Dumping my overkeys_config.json (WIP) {"kanataHost":"127.0.0.1","kanataPort":4039,"userLayouts":[
{"name":"Extend","keys":[["`","1","2","3","4","5","6","7","8","9","0","-","=","BSPC"],["UNDO","CUT","COPY","PASTE","FIND","DEV","⇤","↑","⇥","","",""],["1","2","3","4","5","⤒","←","↓","→","⤓",""],["6","7","8","9","0","","","","",""],[" "]]},
{"name":"Symbol","keys":[
["`","1","2","3","4","5","6","7","8","9","0","-","=","BSPC"],
["'","<",">",":","@","~","\"","{","}","%","[","]"],
["!","-","+","=","`","|",".","(",")","?","'"],
["^","/","*","_","\\","&","$","[","]","#"],
[" "]]},
{"name":"Arabic","keys":[["ذ","١","٢","٣","٤","٥","٦","٧","٨","٩","٠","","",""],["ض","ص","ث","ق","ف","غ","ع","ه","خ","ح","ج","د"],["ش","س","ي","ب","ل","ا","ت","ن","م","ك","ط"],["ئ","ء","ؤ","ر","لا","ى","ة","و","ز","ظ"],[" "]]},
{"name":"Russian","keys":[["","","","","","","","","","","","","",""],["й","ц","у","к","е","н","г","ш","щ","з","х","ъ"],["ф","ы","в","а","п","р","о","л","д","ж","э"],["я","ч","с","м","и","т","ь","б","ю","ё"],[" "]]}],
{"name":"base","keys":[
["`","1","2","3","4","5","6","7","8","9","0","-","=","BSPC"],
["UNDO","CUT","COPY","PASTE","FIND","DEV","⇤","↑","⇥","","",""],
["1","2","3","4","5","⤒","←","↓","→","⤓",""],
["6","7","8","9","0","","","","",""],
[" "]]},
{"name":"symbols","keys":[["`","1","2","3","4","5","6","7","8","9","0","-","=","BSPC"],["'","<",">",":","@","~","\"","{","}","%","[","]"],["!","-","+","=","`","|",".","(",")","?","'"],["^","/","*","_","\\","&","$","[","]","#"],[" "]]},
"defaultUserLayout":"Extended","altLayout":"Symbol"} |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
|
OK layout seems to remain the same even after nuking Extend, Symbol, Arabic, Russian... {"kanataHost":"127.0.0.1","kanataPort":4039,"userLayouts":[
{"name":"base","keys":[
["`","1","2","3","4","5","6","7","8","9","0","-","=","BSPC"],
["UNDO","CUT","COPY","PASTE","FIND","DEV","⇤","↑","⇥","","",""],
["1","2","3","4","5","⤒","←","↓","→","⤓",""],
["6","7","8","9","0","","","","",""],
["navigation"]]},
{"name":"symbols","keys":[
["","","2","3","4","5","6","7","8","9","0","-","=","BSPC"],
["","<",">",":","@","~","@","&","*","'","`",""],
["","{","(",")","}","=","\\","+","-","/","'"],
["","[","]","_","#","&","|","!",";",":"],
[" "]]},
"defaultUserLayout":"base","altLayout":"symbols"} |
Beta Was this translation helpful? Give feedback.
-
|
I think it may have something to do with the way defsrc and the layers are defined in arsenik, a subset of the entire keyboard layout. vs existing defsrc and layouts: Then it may work as expected? |
Beta Was this translation helpful? Give feedback.
-
|
Updated OK Config: {"kanataHost":"127.0.0.1","kanataPort":4039,"userLayouts":[
{"name":"base","keys":[
["`", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "BSPC"],
["Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "[", "]"],
["A", "S", "D", "F", "G", "H", "J", "K", "L", ";", "\""],
["Z", "X", "C", "V", "B", "N", "M", ",", ".", "/"],
[" "]]},
{"name":"symbols","keys":[
["`", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "BSPC"],
["","<",">",":","@","~","@","&","*","'","`",""],
["","{","(",")","}","=","\\","+","-","/","'"],
["","[","]","_","#","&","|","!",";",":"],
[" "]]},
{"name":"navigation","keys":[
["`", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "BSPC"],
["Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "[", "]"],
["A", "S", "D", "F", "G", "H", "J", "K", "L", ";", "\""],
["Z", "X", "C", "V", "B", "N", "M", ",", ".", "/"],
[" "]]},
"defaultUserLayout":"base","altLayout":"symbols"}Reading thru the code to see if it is parsing the layout from Kanata, or if OK is parsing Layer names from Kanata and applying userLayouts. |
Beta Was this translation helpful? Give feedback.
-
|
I tried updating the flattened config file to use a defsrc source map just like the default kanata repo has, but this did not fix my OK overlay. Updated kbd file: |
Beta Was this translation helpful? Give feedback.
-
Recording.2025-03-30.082357.mp4Hi @Galus. Thanks a lot for your interest in OverKeys. Managed to make yours working! No need to change the You'd be mad why yours does not work. You're missing a closing square bracket on your userLayouts in P.S. Please verify if this solves your problem. If it does please mark it as answered! |
Beta Was this translation helpful? Give feedback.


Recording.2025-03-30.082357.mp4
Hi @Galus. Thanks a lot for your interest in OverKeys. Managed to make yours working! No need to change the
kanata.kbdfile as OK only listens to the name of the layer in the layer change message.You'd be mad why yours does not work. You're missing a closing square bracket on your userLayouts in
overkeys_config.json, which is why OK can't read it properly. I suggest you add a JSON Intellisense to your editor or whatever it is that allows you to see errors in a.jsonfile. Here's the correct overkeys_config.json. Hope you did not spend too much time trying to debug this. Happy typing!P.S. Please verify if this solves your problem. If it does pleas…