f

f

f
This commit is contained in:
Michael Grote 2024-03-22 17:31:00 +01:00
parent aa8bc12348
commit c401ae5a1b

View file

@ -57,7 +57,6 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
return false;
}
// combos; https://github.com/qmk/qmk_firmware/blob/master/docs/feature_combo.md
enum combos {
C_KA,
@ -178,6 +177,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
tap_code16(KC_LGUI);
return false;
}
// Indicate pressed shift
case LSFT_T(KC_T):
if (record->event.pressed) {
rgb_matrix_set_color(10, 255, 0, 0); // red left shift
return false;
}
return true;
}
return true;