fix pegasushoof caps light, add via keymap (#19649)

Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Fucong Wang <wangfuco@Fucongs-Mac-mini.local>
This commit is contained in:
wangfuco
2023-01-26 22:11:29 -08:00
committed by GitHub
parent ad817a71a3
commit f1b5659ba8
17 changed files with 85 additions and 143 deletions

View File

@@ -80,12 +80,12 @@ void matrix_scan_user(void)
uint8_t layer = get_highest_layer(layer_state);
switch (layer) {
case KM_BLOWRAK:
ph_caps_led_on();
ph_sclk_led_off();
writePin(LED_CAPS_LOCK_PIN, LED_PIN_ON_STATE);
writePin(LED_SCROLL_LOCK_PIN, !LED_PIN_ON_STATE);
break;
case KM_QWERTY:
ph_sclk_led_on();
ph_caps_led_off();
writePin(LED_CAPS_LOCK_PIN, !LED_PIN_ON_STATE);
writePin(LED_SCROLL_LOCK_PIN, LED_PIN_ON_STATE);
break;
}
}