2024-09-27 11:05:32 -04:00
|
|
|
(defcfg
|
|
|
|
linux-use-trackpoint-property yes
|
2024-09-27 11:08:45 -04:00
|
|
|
;;linux-output-device-bus-type USB
|
2024-09-27 11:05:32 -04:00
|
|
|
process-unmapped-keys yes
|
|
|
|
linux-continue-if-no-devs-found yes
|
|
|
|
)
|
2024-09-25 23:50:11 -04:00
|
|
|
|
|
|
|
;; Only one defsrc is allowed.
|
|
|
|
;;
|
|
|
|
;; defsrc defines the keys that will be intercepted by kanata. The order of the
|
|
|
|
;; keys matches with deflayer declarations and all deflayer declarations must
|
|
|
|
;; have the same number of keys as defsrc. Any keys not listed in defsrc will
|
|
|
|
;; be passed straight to the operating system.
|
|
|
|
(defsrc
|
|
|
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
|
|
|
tab q w e r t y u i o p [ ] \
|
|
|
|
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
|
|
|
|
)
|
|
|
|
|
|
|
|
;; The first layer defined is the layer that will be active by default when
|
|
|
|
;; kanata starts up. This layer is the standard QWERTY layout except for the
|
|
|
|
;; backtick/grave key (@grl) which is an alias for a tap-hold key.
|
|
|
|
(deflayer qwerty
|
|
|
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
|
|
|
tab q w e r t y u i o p [ ] \
|
|
|
|
@ctrlesc a s d f g h j k l ; ' ret
|
|
|
|
lsft z x c v b n m , . / rsft
|
|
|
|
lctl lalt lmet spc rmet ralt
|
|
|
|
)
|
|
|
|
|
|
|
|
(defalias
|
|
|
|
;; tap for escape, hold for lctl
|
|
|
|
ctrlesc (tap-hold 200 200 esc lctl)
|
|
|
|
)
|