summaryrefslogtreecommitdiffstats
path: root/quantum/keyboard.c
diff options
context:
space:
mode:
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) {