diff --git a/common/keymap_ex.h b/common/keymap_ex.h
index 435547a0..e64bace6 100644
--- a/common/keymap_ex.h
+++ b/common/keymap_ex.h
@@ -24,8 +24,12 @@ along with this program. If not, see .
#include
#define EECONFIG_KEYMAP_EX 0x10
-#define FN_ACTIONS_COUNT 8
+#ifndef FN_ACTIONS_COUNT
+#define FN_ACTIONS_COUNT 32
+#endif
+#ifndef KEYMAPS_COUNT
#define KEYMAPS_COUNT 8
+#endif
typedef struct {
uint16_t checksum;