aboutsummaryrefslogtreecommitdiff
path: root/keymaps/beiwagon/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keymaps/beiwagon/keymap.c')
-rw-r--r--keymaps/beiwagon/keymap.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/keymaps/beiwagon/keymap.c b/keymaps/beiwagon/keymap.c
index 00b8dd9..eaa9c44 100644
--- a/keymaps/beiwagon/keymap.c
+++ b/keymaps/beiwagon/keymap.c
@@ -5,16 +5,22 @@
// clang-format off
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_jack(
- G(KC_F), G(KC_T), G(KC_R),
+ G(KC_F), G(KC_Q), G(KC_R),
KC_VOLD, PNP, KC_VOLU,
REMOVE, XRGB_HUI, XRGB_NXT,
XRGB_TOG, XRGB_HUD, TG(_LOWER)
),
[_LOWER] = LAYOUT_jack(
- QK_MAKE, _______, _______,
- QK_BOOT, _______, _______,
- EE_CLR, _______, _______,
+ QK_BOOT, EE_CLR, QK_MAKE,
+ _______, _______, _______,
+ _______, _______, _______,
_______, _______, _______
)
};
// clang-format on
+
+void keyboard_post_init_keymap(void) {
+ for (int i = 0; i < RGB_MATRIX_LED_COUNT; ++i)
+ if (g_led_config.flags[i] & LED_FLAG_UNDERGLOW)
+ g_led_config.flags[i] &= ~LED_FLAG_UNDERGLOW;
+}