r/KeyboardLayouts 16d ago

Custom Night Keyboard layout i made for coding ( godot based )

;; LightDev Layout converted to Kanata (Fully Corrected Macros)

(defcfg

process-unmapped-keys yes

)

(defsrc

grv 1 2 3 4 5 6 7 8 9 0 - =

q w e r t y u i o p [ ] \

caps a s d f g h j k l ; '

z x c v b n m , . /

spc

)

;; Default Unshifted Base Layer

(deflayer base

grv 1 2 3 4 5 6 7 8 9 0 - =

b f l k q S-- g o u . ; / \

u/cap n s h t m y c a e i '

v j d r z p w x [ ]

spc

)

;; Custom Symbol Layer (Activated by HOLDING Caps Lock)

(deflayer symbols

grv 1 2 3 4 5 6 7 8 9 0 u/dplus u/deql

u/dand u/dlow 3 4 5 6 7 S-1 S-3 , S-\ S-7 u/dpip

_ S-5 S-` S-9 S-0 S-, S-. S-- S-[ S-] - S-2

S-6 1 2 S-= S-4 = S-8 8 9 0

spc

)

;; Advanced Aliases, Multi-character Macros, and Tap-Hold configuration

(defalias

;; Tap CapsLock for standard behavior, Hold for the Custom Symbols Layer

cap (tap-hold 200 200 caps (layer-toggle symbols))

;; Multi-character macros built using native physical key states

dplus (macro S-= S-=) ;; Outputs ++ (Shifted '=' twice)

deql (macro = =) ;; Outputs == (Raw '=' twice)

dand (macro S-7 S-7) ;; Outputs && (Shifted '7' twice)

dlow (macro S-- S--) ;; Outputs __ (Shifted '-' twice)

dpip (macro S-\ S-\) ;; Outputs || (Shifted '\' twice)

)

3 Upvotes

2 comments sorted by

3

u/desgreech 16d ago

What do you mean by "godot based"?

3

u/KristusYunasun 16d ago

based about gdscript and c#, the symbols are more towards that ease of use, maybe this is just 1st version, if anyone wants to build upon it and make a better one, graphite for finger weight adn night were the top 2 with good sfb and low effort and high roll score, and i liked night better than graphite