summaryrefslogtreecommitdiff
path: root/keyboards/handwired/dactyl_manuform/dactyl_manuform.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/dactyl_manuform.h')
-rw-r--r--keyboards/handwired/dactyl_manuform/dactyl_manuform.h43
1 files changed, 16 insertions, 27 deletions
diff --git a/keyboards/handwired/dactyl_manuform/dactyl_manuform.h b/keyboards/handwired/dactyl_manuform/dactyl_manuform.h
index 1b6b105ece..11c9997771 100644
--- a/keyboards/handwired/dactyl_manuform/dactyl_manuform.h
+++ b/keyboards/handwired/dactyl_manuform/dactyl_manuform.h
@@ -1,32 +1,21 @@
#pragma once
-#ifdef KEYBOARD_handwired_dactyl_manuform_4x5
- #include "4x5.h"
-#elif KEYBOARD_handwired_dactyl_manuform_4x6
- #include "4x6.h"
-#elif KEYBOARD_handwired_dactyl_manuform_5x6
- #include "5x6.h"
-#elif KEYBOARD_handwired_dactyl_manuform_5x6_5
- #include "5x6_5.h"
-#elif KEYBOARD_handwired_dactyl_manuform_5x6_2_5
- #include "5x6_2_5.h"
-#elif KEYBOARD_handwired_dactyl_manuform_5x7
- #include "5x7.h"
-#elif KEYBOARD_handwired_dactyl_manuform_6x6
- #include "6x6.h"
-#elif KEYBOARD_handwired_dactyl_manuform_dmote_62key
- #include "62key.h"
-#elif KEYBOARD_handwired_dactyl_manuform_5x6_right_trackball
-# include "5x6_right_trackball.h"
+#if defined(KEYBOARD_handwired_dactyl_manuform_4x5)
+# include "4x5.h"
+#elif defined(KEYBOARD_handwired_dactyl_manuform_4x6)
+# include "4x6.h"
+#elif defined(KEYBOARD_handwired_dactyl_manuform_5x6)
+# include "5x6.h"
+#elif defined(KEYBOARD_handwired_dactyl_manuform_5x6_5)
+# include "5x6_5.h"
+#elif defined(KEYBOARD_handwired_dactyl_manuform_5x6_2_5)
+# include "5x6_2_5.h"
+#elif defined(KEYBOARD_handwired_dactyl_manuform_5x7)
+# include "5x7.h"
+#elif defined(KEYBOARD_handwired_dactyl_manuform_6x6)
+# include "6x6.h"
+#elif defined(KEYBOARD_handwired_dactyl_manuform_dmote_62key)
+# include "62key.h"
#endif
#include "quantum.h"
-
-
-#ifdef USE_I2C
-#include <stddef.h>
-#ifdef __AVR__
- #include <avr/io.h>
- #include <avr/interrupt.h>
-#endif
-#endif