Allow Fn to change volume and laptop brightness.

This also allows Fn and h/j/k/l to do arrows.
This commit is contained in:
Howard Abrams 2025-12-02 17:10:13 -08:00
parent a3c3458140
commit 4de1b825f7

View file

@ -3,6 +3,10 @@
;; modifier, so holding down `d` and hitting `p` results in `P` being
;; entered.
(deflocalkeys-macos
ì 13
)
;; Also includes a symbol layer accessible while holding down either
;; the `h' or `g' keys.
@ -13,11 +17,12 @@
;; )
)
(defsrc
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
` 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 lalt lmet spc rmet ralt
fn lctl lalt lmet spc rmet ralt
)
(defvar
@ -40,17 +45,19 @@
)
(deflayer base
esc F1 F2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
` 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 lalt lmet spc rmet ralt
@h lctl lalt lmet spc rmet ralt
)
(deflayer SYMBOLS
_ F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 _ _ _
esc 🔅 🔆 F3 F4 f5 f6 ◀◀ ▶⏸ ▶▶ 🔇 🔉 🔊
_ f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 _ _ _
_ S-1 S-2 { } S-\ F16 F17 F18 F19 pgup _ _ _
_ S-3 S-4 S-9 S-0 ` left down up right pgdn _ _
_ S-5 S-6 [ ] S-` F11 F12 F13 F14 F15 _
_ _ _ _ _ _
_ _ _ _ _ _ _
)