From ac5b5ff533fc4f4471bfbbb3e27082b1258ed01f Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Fri, 10 Jan 2014 09:14:11 +0900 Subject: [PATCH] Add some flexible define for keymap_ex --- common/keymap_ex.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;