Skip to content

Commit

Permalink
Jonavin-kb67-Reduce mem usage (qmk#16991)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonavin <=>
  • Loading branch information
Jonavin authored and Vino Rodrigues committed May 17, 2022
1 parent 2fd7c07 commit 73d74f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 3 additions & 0 deletions keyboards/kbdfans/kbd67/mkiirgb/keymaps/jonavin/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#endif

// Reduce layers to 3 to save memory
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
7 changes: 0 additions & 7 deletions keyboards/kbdfans/kbd67/mkiirgb/keymaps/jonavin/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, KC_NO, KC_DEL, KC_INS, KC_NO, KC_NO, KC_NO, KC_P0, KC_00, KC_PDOT, KC_PSLS, _______, _______, _______,
_______, _______, _______, KC_BSPC, _______, _______, _______, _______, _______
),
[_RAISE] = LAYOUT_65_ansi_blocker(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, KC_SPC, _______, _______, _______, _______, _______
),
};

#ifdef RGB_MATRIX_ENABLE
Expand Down
2 changes: 2 additions & 0 deletions keyboards/kbdfans/kbd67/mkiirgb/keymaps/jonavin/rules.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
VIA_ENABLE = yes
LTO_ENABLE = yes
CONSOLE_ENABLE = no
MOUSEKEY_ENABLE = no
TAP_DANCE_ENABLE = yes
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
EXTRAKEY_ENABLE = no

TD_LSFT_CAPSLOCK_ENABLE = yes
IDLE_TIMEOUT_ENABLE = yes
Expand Down

0 comments on commit 73d74f9

Please sign in to comment.