]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/ergodox_ez/rules.mk
[Keymap] jotix ortho_4x12 layout match new keycaps (#6209)
[qmk_firmware.git] / keyboards / ergodox_ez / rules.mk
index b8c0eb4f50a584ac5ab4d3bb9accd81f0b7dc0f7..e96cd20825c3f530f4dbfba7df3b53a224beb112 100644 (file)
@@ -15,8 +15,7 @@
 #----------------------------------------------------------------------------
 
 # # project specific files
-SRC = twimaster.c \
-         matrix.c
+SRC += matrix.c
 
 # MCU name
 MCU = atmega32u4
@@ -82,7 +81,13 @@ UNICODE_ENABLE   = yes # Unicode
 SWAP_HANDS_ENABLE= yes # Allow swapping hands of keyboard
 SLEEP_LED_ENABLE = no
 API_SYSEX_ENABLE = no
-RGBLIGHT_ENABLE = no
-RGB_MATRIX_ENABLE = no
+RGBLIGHT_ENABLE = yes
+RGB_MATRIX_ENABLE = no # enable later
+DEBOUNCE_TYPE = eager_pr
+
+ifeq ($(strip $(RGB_MATRIX_ENABLE)), no)
+  SRC += i2c_master.c
+endif
+
 
 LAYOUTS = ergodox