summaryrefslogtreecommitdiff
path: root/src/generate_configuration.py
diff options
context:
space:
mode:
authorJoshua Shreve <j.a.shreve@gmail.com>2021-07-05 14:16:35 -0400
committerJoshua Shreve <j.a.shreve@gmail.com>2021-07-05 14:16:35 -0400
commitaa204f4d6499851488659ffae63044b389d017a7 (patch)
treefb13e10826057b53641f2da5b47b3ae899160475 /src/generate_configuration.py
parent245f34162f2a5b941ddd1a22ad72598251559e03 (diff)
Mid-change commit. Added DM mini and carbonfet thumb clusters. Still tweaking screw locations and relative OLED, etc. Commiting to share progress.
Diffstat (limited to 'src/generate_configuration.py')
-rw-r--r--src/generate_configuration.py20
1 files changed, 16 insertions, 4 deletions
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()