From 7b9e11c99944d6748d795a6b2f19ea04b162087d Mon Sep 17 00:00:00 2001 From: Eddie Antonio Santos Date: Mon, 30 Sep 2019 09:10:16 -0600 Subject: [PATCH] Generate a space instead of blank key for ABC. --- release/nrc/nrc_crk_cans/extras/generate-touch-layout.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/nrc/nrc_crk_cans/extras/generate-touch-layout.py b/release/nrc/nrc_crk_cans/extras/generate-touch-layout.py index 5fc7d03..e30925f 100755 --- a/release/nrc/nrc_crk_cans/extras/generate-touch-layout.py +++ b/release/nrc/nrc_crk_cans/extras/generate-touch-layout.py @@ -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"} @@ -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"]