Skip to content

About modifiers and layers #81

Answered by dariogoetz
fohrloop asked this question in Q&A
Discussion options

You must be logged in to vote

I'm trying to understand how layers work in the keyboard_layout_optimizer. This is what I've got this far (might be correct or incorrect):

* Layers are defined by adding more elements into the lists in keyboard configuration file `base_layout.keys`. For example, this has 6 layers (1 base layer + 5 other layers):
base_layout:
  keys:
    # Row 1
    - - ["x", "X", "ſ", "−", "ξ", "Ξ"]
      - ["v", "V", "…", "⇞", "", "√"]
      - ["l", "L", "_", "⌫", "λ", "Λ"]

Yes, exactly. And the symbols that you specify on the commandline are those from the first items of these lists for which the fixed_keys are false.

The keys that lead to the layers are set in the keyboard config yaml, base_layout.…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@fohrloop
Comment options

@dariogoetz
Comment options

@fohrloop
Comment options

@dariogoetz
Comment options

@fohrloop
Comment options

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