Adaptations supplémentaires linux et flèches f11 f12

This commit is contained in:
Matthieu Dubuget 2025-04-19 17:26:52 +02:00
parent 01670a2927
commit 5e13cc0348

35
mdt.kbd
View File

@ -4,13 +4,7 @@
(defcfg (defcfg
process-unmapped-keys yes process-unmapped-keys yes
tray-icon kanata-icon.svg tray-icon kanata-icon.svg
) linux-dev /dev/input/by-path/platform-i8042-serio-0-event-kbd
(defsrc
9 0
w u i o p
a s d f j k l ;
x b n m , . /
) )
(defvar tap-time 350 hold-time 300) (defvar tap-time 350 hold-time 300)
@ -25,21 +19,28 @@
j (tap-hold $tap-time $hold-time j rsft) j (tap-hold $tap-time $hold-time j rsft)
k (tap-hold $tap-time $hold-time k rctl) k (tap-hold $tap-time $hold-time k rctl)
l (tap-hold $tap-time $hold-time l lalt) l (tap-hold $tap-time $hold-time l lalt)
; (tap-hold $tap-time $hold-time ; rmet) ; (tap-hold $tap-time $hold-time ; lmet)
x (tap-hold $tap-time $hold-time x (layer-while-held numeric)) x (tap-hold $tap-time $hold-time x (layer-while-held numeric))
, (tap-hold $tap-time $hold-time , (layer-while-held numeric))
)
(defsrc
9 0
w e u i o p
a s d f j k l ;
x c v b n m , . /
) )
(deflayer (base 🖻 kanata-icon.svg) (deflayer (base 🖻 kanata-icon.svg)
_ _ _ _
@w _ _ @o _ @w _ _ _ @o _
@a @s @d @f @j @k @l @; @a @s @d @f @j @k @l @;
@x _ _ _ _ _ _ @x _ _ _ _ _ @, _ _
) )
(deflayer (numeric 🖻 numeric.png) (deflayer (numeric 🖻 numeric.png)
kp/ kp* kp/ kp*
_ kp7 kp8 kp9 kp- _ up kp7 kp8 kp9 kp-
_ _ _ _ kp4 kp5 kp6 kp+ _ lft down rght kp4 kp5 kp6 kp+
_ kp. kp0 kp1 kp2 kp3 kprt f11 f12 _ kp. kp0 kp1 kp2 kp3 kprt
) )