summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-12-02 21:51:04 +0000
committerQMK Bot <hello@qmk.fm>2023-12-02 21:51:04 +0000
commitb45b3aaec73f17735a8211eb5b9114b1c617848f (patch)
treef2c9edf63196943ec55cd4dd2c35c7f8426f5d92
parent07e2b645ab4fc46b433b45a7d79c04a3e4e2cc2c (diff)
parentb68e89f8466d6b0f33543a34db84acdbae46f734 (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--lib/python/qmk/info.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index 3efd34555c..d51741ecb6 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -743,6 +743,9 @@ def _check_matrix(info_data):
elif 'cols' in info_data['matrix_pins'] and 'rows' in info_data['matrix_pins']:
col_count = len(info_data['matrix_pins']['cols'])
row_count = len(info_data['matrix_pins']['rows'])
+ elif 'cols' not in info_data['matrix_pins'] and 'rows' not in info_data['matrix_pins']:
+ # This case caters for custom matrix implementations where normal rows/cols are specified
+ return
if col_count != actual_col_count and col_count != (actual_col_count / 2):
# FIXME: once we can we should detect if split is enabled to do the actual_col_count/2 check.