Move some common matrix code to a common location (#7699)

* Move some common matrix code to a common location

* Refactor some 'custom_matrix_helper' logic to use custom matrix lite

* Fix build for kinesis/stapelberg - abuse of vpath was picking up matrix.c from core when custom matrix was enabled

* Add validation for CUSTOM_MATRIX
This commit is contained in:
Joel Challis
2020-01-04 20:29:44 +00:00
committed by GitHub
parent c1feeaa57f
commit dcb7ca3f79
12 changed files with 124 additions and 283 deletions

View File

@@ -0,0 +1,4 @@
CUSTOM_MATRIX = yes # need to do our own thing with the matrix
# Project specific files
SRC += matrix.c

View File

@@ -28,9 +28,5 @@ MIDI_ENABLE = no # MIDI controls
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output should be port E6, current quantum library hardcodes C6, which we use for programming
CUSTOM_MATRIX=yes # need to do our own thing with the matrix
DEFAULT_FOLDER = kinesis/alvicstep
# Project specific files
SRC = matrix.c