This commit is contained in:
Nicksname 2023-02-27 02:12:35 +01:00
parent d69e74ac64
commit 8f3ad54fd6

View file

@ -67,7 +67,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
bool process_record_user(uint16_t keycode, keyrecord_t *record) { bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) { switch (keycode) {
// CAPS gets toggeled when LSFT & RSFT are pressed together // CAPS gets toggeled when LSFT & RSFT are pressed together
case KC_LSFT: case KC_LSFT:
if (record->event.pressed) { if (record->event.pressed) {
if (get_mods() & MOD_BIT(KC_RSFT) ) { if (get_mods() & MOD_BIT(KC_RSFT) ) {