Skip to content

Instantly share code, notes, and snippets.

@derekmc
Created April 30, 2026 17:59
Show Gist options
  • Select an option

  • Save derekmc/09855000ca21942481659df52570b085 to your computer and use it in GitHub Desktop.

Select an option

Save derekmc/09855000ca21942481659df52570b085 to your computer and use it in GitHub Desktop.
;; NumpadAdventure keyboard
;; Exactly one defcfg entry is required. This is used for configuration key-pairs.
;; copied defcfg from ARTSEY example
(defcfg
;; Your keyboard device will likely differ from this.
linux-dev /dev/input/event1
;; Windows doesn't need any input/output configuration entries; however, there
;; must still be a defcfg entry. You can keep the linux-dev entry or delete
;; it and leave it empty.
)
(defsrc
u i o p
j k l ;
spc h
m , 9 8 n .
)
(deflayer base
(chord base A) (chord base T) (chord base I) (chord base L)
(chord base R) (chord base N) (chord base O) (chord base E)
(chord base SPC) (chord base SFT)
s d w h f y
)
(defchords base 5000
(R) r (N) n (O) o (E) e
(A) a (T) t (I) i (L) l
(SPC) spc (SFT) (one-shot 2000 lsft)
(R O) s (N E) d
(A O) w (T E) h
;; (E T) f
(A N) y
(T I) b (N O) m
(R N) u (A T) v
(T O) g (N I) p
(A I) j
;; (A L) q
(R I) c (L A) z (N L) x
(R T) k
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment