summaryrefslogtreecommitdiff
path: root/lib/python/qmk/info.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk/info.py')
-rw-r--r--lib/python/qmk/info.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index 905f10ecc2..b86eaa059f 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -550,6 +550,11 @@ def _matrix_size(info_data):
info_data['matrix_size']['cols'] = len(info_data['matrix_pins']['cols'])
info_data['matrix_size']['rows'] = len(info_data['matrix_pins']['rows'])
+ # Assumption of split common
+ if 'split' in info_data:
+ if info_data['split'].get('enabled', False):
+ info_data['matrix_size']['rows'] *= 2
+
return info_data