1
0
Fork 0

[Keymap] Update some code and keyboard rules (#16680)

This commit is contained in:
stanrc85 2022-03-19 02:52:33 -04:00 committed by GitHub
parent 61c644f6d0
commit 06b6729b16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View file

@ -68,7 +68,7 @@ void lock_unlock (qk_tap_dance_state_t *state, void *user_data) {
tap_code16(KC_CAD);
#if defined(HAS_INDICATORS)
led_user = 0;
#if defined(KEYBOARD_sneakbox_aliceclone)
#if defined(KEYBOARD_sneakbox_aliceclone) || defined(KEYBOARD_mechlovin_adelais_standard_led_arm_rev4_stm32f303)
led_user = 1;
#endif
writePin(INDICATOR_PIN_0, !led_user);
@ -84,7 +84,7 @@ void lock_unlock (qk_tap_dance_state_t *state, void *user_data) {
tap_code16(KC_LOCK);
#if defined(HAS_INDICATORS)
led_user = 1;
#if defined(KEYBOARD_sneakbox_aliceclone)
#if defined(KEYBOARD_sneakbox_aliceclone) || defined(KEYBOARD_mechlovin_adelais_standard_led_arm_rev4_stm32f303)
led_user = 0;
#endif
writePin(INDICATOR_PIN_2, !led_user);