Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update YMDK Split 64 config with correct indicator LED pins #16979

Merged
merged 4 commits into from
May 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions keyboards/ymdk/sp64/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 5 additions & 4 deletions keyboards/ymdk/sp64/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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