summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinke Zhang <minke.zhang@gmail.com>2022-05-11 16:09:14 -0700
committerGitHub <noreply@github.com>2022-05-11 16:09:14 -0700
commitdf9c266f45c947a2ae71f213096ef0d832f3e336 (patch)
treed329a827331f6c7944851bf32ee1fb8a76c639a0
parentba599270189242a728a230e7879b9c189a22053f (diff)
[Keyboard] Update YMDK Split 64 config (#16979)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r--keyboards/ymdk/sp64/config.h5
-rw-r--r--keyboards/ymdk/sp64/rules.mk9
2 files changed, 10 insertions, 4 deletions
diff --git a/keyboards/ymdk/sp64/config.h b/keyboards/ymdk/sp64/config.h
index 38880d1a85..f7b34575af 100644
--- a/keyboards/ymdk/sp64/config.h
+++ b/keyboards/ymdk/sp64/config.h
@@ -30,6 +30,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RIGHT_HALF
+/* LED indicator lights */
+#define LED_CAPS_LOCK_PIN D1
+#define LED_NUM_LOCK_PIN D0
+#define LED_SCROLL_LOCK_PIN D6
+
/* RGB underglow */
#define RGBLED_NUM 12
#define RGBLIGHT_HUE_STEP 8
diff --git a/keyboards/ymdk/sp64/rules.mk b/keyboards/ymdk/sp64/rules.mk
index 7d52d7ca78..3dfe95cc0f 100644
--- a/keyboards/ymdk/sp64/rules.mk
+++ b/keyboards/ymdk/sp64/rules.mk
@@ -10,16 +10,17 @@ BOOTLOADER = bootloadhid
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
+CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
-#BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-AUDIO_ENABLE = no # There is no speaker on this PCB
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+AUDIO_ENABLE = no # Audio output
+AUDIO_SUPPORTED = no
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
CUSTOM_MATRIX = yes
# Needed for underglow
WS2812_DRIVER = i2c
-SRC += matrix.c
+SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c