Skip to content

How to use defsrc for multiple keyboards? #372

Answered by jtroo
timfenney asked this question in Q&A
Discussion options

You must be logged in to vote

I also use a single defsrc myself across multiple keyboards and devices, across split, laptop, etc., though I don't use any single key or other prototype keyboards.

For the spatial aspect, I mostly use the shape of a standard QWERTY keyboard since it's easy enough to visually understand even if on a different keyboard. Some keys that I have remapped on some keyboards that don't belong on a QWERTY keyboard, like f13-f24, etc. go in arbitrary order in a separate row.

(defsrc
  ;; insert ~60%-ish QWERTY layout here
  f13 f14 f15 ;; etc.
)

If you don't want any spatial information, you could do something like:

(defsrc
  a
  b
  c
  1
  2
  3
)

(deflayer base
  #| a |# _
  #| b |# _
  #| c |…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ArvinSKushwaha
Comment options

@jtroo
Comment options

Answer selected by jtroo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #357 on April 08, 2023 06:15.