Skip to content

Commit

Permalink
Generate a space instead of blank key for ABC.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddieantonio committed Sep 30, 2019
1 parent f5ddfb6 commit 7b9e11c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release/nrc/nrc_crk_cans/extras/generate-touch-layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
ACTIVE_KEY = "2" # for non-default vowel syllabics
DEAD_KEY = "8" # for active consonant/w.
BLANK_KEY = "9" # placeholder for missing nwV syllabics
SPACER = "10" # an empty space, the size of a key

ALWAYS_RETURN_TO_DEFAULT_LAYER = {"hk", "l", "r", "h"}

Expand Down Expand Up @@ -360,7 +361,7 @@ def post_process_keys(keys, include_latin: bool):
# Replace the *ABC* key with a space when the Latin
# layers are not included.
if not include_latin and is_latin_mode_switch_key(key):
key.update(text="", sp=BLANK_KEY)
key.update(text="", sp=SPACER)
del key["nextlayer"]


Expand Down

0 comments on commit 7b9e11c

Please sign in to comment.