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.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/keymaps/beiwagon/keymap.c b/keymaps/beiwagon/keymap.c
new file mode 100644
index 0000000..eaa9c44
--- /dev/null
+++ b/keymaps/beiwagon/keymap.c
@@ -0,0 +1,26 @@
+// Copyright 2025 [email protected]
+// SPDX-License-Identifier: GPL-3.0-or-later
+#include "jack.h"
+
+// clang-format off
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_BASE] = LAYOUT_jack(
+ 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_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;
+}