summaryrefslogtreecommitdiff
path: root/keyboards/custommk/ergostrafer/keymaps/via/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/custommk/ergostrafer/keymaps/via/config.h')
-rw-r--r--keyboards/custommk/ergostrafer/keymaps/via/config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/custommk/ergostrafer/keymaps/via/config.h b/keyboards/custommk/ergostrafer/keymaps/via/config.h
new file mode 100644
index 0000000000..81f399d46b
--- /dev/null
+++ b/keyboards/custommk/ergostrafer/keymaps/via/config.h
@@ -0,0 +1,13 @@
+// Copyright 2023 customMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+// With 8k FRAM, max out dynamic keymap layers and macros
+// 7x6 matrix (84 bytes) and three encoders (12 bytes) consume 96 bytes per layer
+// 32 layers consumes 3072 bytes
+#define DYNAMIC_KEYMAP_LAYER_COUNT 32
+
+// Most of the remaining space can be used for macros
+// QMK Macro keycode range allows up to 128 macros
+#define DYNAMIC_KEYMAP_MACRO_COUNT 128