From aa204f4d6499851488659ffae63044b389d017a7 Mon Sep 17 00:00:00 2001 From: Joshua Shreve Date: Mon, 5 Jul 2021 14:16:35 -0400 Subject: Mid-change commit. Added DM mini and carbonfet thumb clusters. Still tweaking screw locations and relative OLED, etc. Commiting to share progress. --- src/generate_configuration.py | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'src/generate_configuration.py') diff --git a/src/generate_configuration.py b/src/generate_configuration.py index 7c34942..7a33a73 100644 --- a/src/generate_configuration.py +++ b/src/generate_configuration.py @@ -40,6 +40,17 @@ shape_config = { 9 # controls overall height# original=9 with centercol=3# use 16 for centercol=2 ), + + ############################## + # NEW TEST PARAMETERS + ############################## + 'pinky_1_5U': False, # LEAVE AS FALSE, CURRENTLY BROKEN + 'first_1_5U_row': 0, + 'last_1_5U_row': 5, + 'thumb_style': 'CARBONFET', #'DEFAULT', 'MINI', 'CARBONFET' + ############################## + + 'extra_width': 2.5, # extra space between the base of keys# original= 2 'extra_height': 1.0, # original= 0.5 @@ -223,8 +234,9 @@ shape_config = { ## END CONFIGURATION SECTION #################################### +def save_config(): + with open('run_config.json', mode='w') as fid: + json.dump(shape_config, fid, indent=4) - -with open('run_config.json', mode='w') as fid: - json.dump(shape_config, fid, indent=4) - +if __name__ == '__main__': + save_config() -- cgit v1.2.3-70-g09d2