From e6b49c47c69fbb72d827f85ba577dd8e2492ea91 Mon Sep 17 00:00:00 2001 From: katherine Date: Fri, 17 Jun 2022 07:00:05 -0700 Subject: add persistent FN toggle --- .config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/qmk_firmware/keyboards/keebio/nyquist/keymaps') diff --git a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c index 76540c9..ac5559b 100644 --- a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c +++ b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c @@ -73,15 +73,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM combo_qwerty[] = { KC_LCTL, KC_RCTL, COMBO_END }; +const uint16_t PROGMEM combo_fn[] = { KC_LALT, KC_RALT, COMBO_END }; combo_t key_combos[] = { COMBO(combo_qwerty, TG(_QWERTY)), + COMBO(combo_fn, TG(_FN)), }; uint16_t COMBO_LEN = sizeof(key_combos) / sizeof(combo_t); void keyboard_post_init_user(void) { - rgblight_disable(); rgblight_sethsv(148, 56, 71); rgblight_mode(RGBLIGHT_MODE_BREATHING); + rgblight_disable(); } -- cgit v1.2.3