summaryrefslogtreecommitdiff
path: root/quantum/keyboard.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/keyboard.c
parentb9e5895184c6d36b46ba723d6d71e27249e70c20 (diff)
quantum: remove direct `quantum.h` includes (#21507)
Diffstat (limited to 'quantum/keyboard.c')
-rw-r--r--quantum/keyboard.c34
1 files changed, 32 insertions, 2 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c
index 5115709748..c2ca15d52d 100644
--- a/quantum/keyboard.c
+++ b/quantum/keyboard.c
@@ -16,8 +16,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdint.h>
-#include "quantum.h"
#include "keyboard.h"
+#include "keycode_config.h"
#include "matrix.h"
#include "keymap_introspection.h"
#include "magic.h"
@@ -33,6 +33,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "sendchar.h"
#include "eeconfig.h"
#include "action_layer.h"
+#ifdef AUDIO_ENABLE
+# include "audio.h"
+#endif
+#if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC))
+# include "process_music.h"
+#endif
#ifdef BACKLIGHT_ENABLE
# include "backlight.h"
#endif
@@ -54,9 +60,27 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef ENCODER_ENABLE
# include "encoder.h"
#endif
+#ifdef HAPTIC_ENABLE
+# include "haptic.h"
+#endif
+#ifdef AUTO_SHIFT_ENABLE
+# include "process_auto_shift.h"
+#endif
+#ifdef COMBO_ENABLE
+# include "process_combo.h"
+#endif
+#ifdef TAP_DANCE_ENABLE
+# include "process_tap_dance.h"
+#endif
#ifdef STENO_ENABLE
# include "process_steno.h"
#endif
+#ifdef KEY_OVERRIDE_ENABLE
+# include "process_key_override.h"
+#endif
+#ifdef SECURE_ENABLE
+# include "secure.h"
+#endif
#ifdef POINTING_DEVICE_ENABLE
# include "pointing_device.h"
#endif
@@ -64,7 +88,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# include "process_midi.h"
#endif
#ifdef JOYSTICK_ENABLE
-# include "process_joystick.h"
+# include "joystick.h"
#endif
#ifdef HD44780_ENABLE
# include "hd44780.h"
@@ -108,6 +132,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef LEADER_ENABLE
# include "leader.h"
#endif
+#ifdef UNICODE_COMMON_ENABLE
+# include "unicode.h"
+#endif
+#ifdef WPM_ENABLE
+# include "wpm.h"
+#endif
static uint32_t last_input_modification_time = 0;
uint32_t last_input_activity_time(void) {