summaryrefslogtreecommitdiff
path: root/quantum/keymap_common.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-07-16 23:42:56 +1000
committerGitHub <noreply@github.com>2023-07-16 23:42:56 +1000
commitda2d2f947d5c30aebea17f414fb22ad50fe5410b (patch)
treefdf2ed307ddb8f32ecb9ef7444ecfdf7ff7b4904 /quantum/keymap_common.c
parentb9e5895184c6d36b46ba723d6d71e27249e70c20 (diff)
quantum: remove direct `quantum.h` includes (#21507)
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r--quantum/keymap_common.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c
index 0492e6fd1c..9a67fad278 100644
--- a/quantum/keymap_common.c
+++ b/quantum/keymap_common.c
@@ -22,7 +22,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "action_layer.h"
#include "action.h"
#include "debug.h"
-#include "quantum.h"
+#include "keycode_config.h"
+#include "quantum_keycodes.h"
+
+#ifdef ENCODER_MAP_ENABLE
+# include "encoder.h"
+#endif
#ifdef BACKLIGHT_ENABLE
# include "backlight.h"