diff --git a/src/kaleidoscope/key_events.h b/src/kaleidoscope/key_events.h index b346d2f7..705cf1b3 100644 --- a/src/kaleidoscope/key_events.h +++ b/src/kaleidoscope/key_events.h @@ -21,8 +21,6 @@ #include "kaleidoscope/key_defs.h" #include "kaleidoscope/keyswitch_state.h" -extern const Key keymaps[][ROWS][COLS]; - // Code can use this macro on injected key events to signal that // the event isn't tied to a specific physical keyswitch diff --git a/src/kaleidoscope/layers.h b/src/kaleidoscope/layers.h index dad31cb4..db3c29d5 100644 --- a/src/kaleidoscope/layers.h +++ b/src/kaleidoscope/layers.h @@ -20,6 +20,9 @@ #include "kaleidoscope/key_defs.h" #include KALEIDOSCOPE_HARDWARE_H +extern const Key keymaps[][ROWS][COLS]; + + // Macro for defining the keymap. This should be used in the sketch // file (*.ino) to define the keymap[] array that holds the user's // layers. It also computes the number of layers in that keymap.