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/>.
16*/ 16*/
17 17
18#include <stdint.h> 18#include <stdint.h>
19#include "quantum.h"
20#include "keyboard.h" 19#include "keyboard.h"
20#include "keycode_config.h"
21#include "matrix.h" 21#include "matrix.h"
22#include "keymap_introspection.h" 22#include "keymap_introspection.h"
23#include "magic.h" 23#include "magic.h"
@@ -33,6 +33,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
33#include "sendchar.h" 33#include "sendchar.h"
34#include "eeconfig.h" 34#include "eeconfig.h"
35#include "action_layer.h" 35#include "action_layer.h"
36#ifdef AUDIO_ENABLE
37# include "audio.h"
38#endif
39#if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC))
40# include "process_music.h"
41#endif
36#ifdef BACKLIGHT_ENABLE 42#ifdef BACKLIGHT_ENABLE
37# include "backlight.h" 43# include "backlight.h"
38#endif 44#endif
@@ -54,9 +60,27 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
54#ifdef ENCODER_ENABLE 60#ifdef ENCODER_ENABLE
55# include "encoder.h" 61# include "encoder.h"
56#endif 62#endif
63#ifdef HAPTIC_ENABLE
64# include "haptic.h"
65#endif
66#ifdef AUTO_SHIFT_ENABLE
67# include "process_auto_shift.h"
68#endif
69#ifdef COMBO_ENABLE
70# include "process_combo.h"
71#endif
72#ifdef TAP_DANCE_ENABLE
73# include "process_tap_dance.h"
74#endif
57#ifdef STENO_ENABLE 75#ifdef STENO_ENABLE
58# include "process_steno.h" 76# include "process_steno.h"
59#endif 77#endif
78#ifdef KEY_OVERRIDE_ENABLE
79# include "process_key_override.h"
80#endif
81#ifdef SECURE_ENABLE
82# include "secure.h"
83#endif
60#ifdef POINTING_DEVICE_ENABLE 84#ifdef POINTING_DEVICE_ENABLE
61# include "pointing_device.h" 85# include "pointing_device.h"
62#endif 86#endif
@@ -64,7 +88,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
64# include "process_midi.h" 88# include "process_midi.h"
65#endif 89#endif
66#ifdef JOYSTICK_ENABLE 90#ifdef JOYSTICK_ENABLE
67# include "process_joystick.h" 91# include "joystick.h"
68#endif 92#endif
69#ifdef HD44780_ENABLE 93#ifdef HD44780_ENABLE
70# include "hd44780.h" 94# include "hd44780.h"
@@ -108,6 +132,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
108#ifdef LEADER_ENABLE 132#ifdef LEADER_ENABLE
109# include "leader.h" 133# include "leader.h"
110#endif 134#endif
135#ifdef UNICODE_COMMON_ENABLE
136# include "unicode.h"
137#endif
138#ifdef WPM_ENABLE
139# include "wpm.h"
140#endif
111 141
112static uint32_t last_input_modification_time = 0; 142static uint32_t last_input_modification_time = 0;
113uint32_t last_input_activity_time(void) { 143uint32_t last_input_activity_time(void) {