summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-04-03 10:44:25 +1100
committerGitHub <noreply@github.com>2024-04-03 10:44:25 +1100
commitc635733a7fd48c6692d818ac8621571cbc5f470a (patch)
tree93ecd160d846ed3b5cca3e4abe2f30441030ea55
parent408f6e43cd2522b6a4073bedcfbe2ee7df2603dd (diff)
Remove `quantum.h` includes from keyboard code (#23394)
-rw-r--r--keyboards/25keys/cassette42/common/oled_helper.c4
-rw-r--r--keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.c4
-rw-r--r--keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.h4
-rw-r--r--keyboards/annepro2/annepro2_ble.h1
-rw-r--r--keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c3
-rw-r--r--keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h3
-rw-r--r--keyboards/cannonkeys/lib/satisfaction75/satisfaction_encoder.c1
-rw-r--r--keyboards/cannonkeys/lib/satisfaction75/satisfaction_oled.c8
-rw-r--r--keyboards/clueboard/2x1800/2021/max7219.c4
-rw-r--r--keyboards/clueboard/2x1800/2021/max7219.h6
-rw-r--r--keyboards/converter/usb_usb/custom_matrix.cpp4
-rw-r--r--keyboards/converter/xt_usb/xt.h3
-rw-r--r--keyboards/duck/duck_led/duck_led.c3
-rw-r--r--keyboards/duck/jetfire/indicator_leds.c5
-rw-r--r--keyboards/duck/jetfire/indicator_leds.h2
-rwxr-xr-xkeyboards/fallacy/indicators.h3
-rw-r--r--keyboards/handwired/d48/taphold.c3
-rw-r--r--keyboards/handwired/d48/taphold.h4
-rw-r--r--keyboards/handwired/dactyl_minidox/dactyl_minidox.c (renamed from keyboards/handwired/dactyl_minidox/3x5_3.c)0
-rw-r--r--keyboards/handwired/dygma/raise/leds.c6
-rw-r--r--keyboards/handwired/dygma/raise/leds.h3
-rw-r--r--keyboards/handwired/lagrange/transport.c4
-rw-r--r--keyboards/handwired/promethium/keymaps/default/keymap.c1
-rw-r--r--keyboards/horrortroll/nyx/rev1/rev1.c (renamed from keyboards/horrortroll/nyx/rev1/nyx.c)0
-rw-r--r--keyboards/hotdox/left.c1
-rw-r--r--keyboards/hotdox/left.h4
-rw-r--r--keyboards/idobao/id61/keymaps/idobao/specialk.c3
-rw-r--r--keyboards/idobao/id61/keymaps/idobao/specialk.h3
-rw-r--r--keyboards/input_club/k_type/i2c_master.c5
-rw-r--r--keyboards/kagizaraya/chidori/board.c1
-rw-r--r--keyboards/keyboardio/model01/leds.c3
-rw-r--r--keyboards/keyboardio/model01/leds.h3
-rw-r--r--keyboards/matrix/m20add/rgb_ring.c4
-rw-r--r--keyboards/miiiw/common/shift_register.c2
-rw-r--r--keyboards/miiiw/common/shift_register.h1
-rw-r--r--keyboards/mntre_v3/mntre_v3.c (renamed from keyboards/mntre_v3/mntre.c)0
-rw-r--r--keyboards/molecule/adns.c2
-rw-r--r--keyboards/molecule/adns.h2
-rw-r--r--keyboards/nullbitsco/common/bitc_led.h3
-rw-r--r--keyboards/nullbitsco/common/remote_kb.c3
-rw-r--r--keyboards/nullbitsco/common/remote_kb.h3
-rw-r--r--keyboards/nullbitsco/nibble/big_led.h3
-rw-r--r--keyboards/nullbitsco/nibble/keymaps/oled_status/oled_display.c9
-rw-r--r--keyboards/nullbitsco/nibble/keymaps/oled_status/oled_display.h2
-rw-r--r--keyboards/rocketboard_16/keycode_lookup.c5
-rw-r--r--keyboards/rocketboard_16/keycode_lookup.h2
-rw-r--r--keyboards/sirius/unigo66/custom_matrix.cpp4
-rw-r--r--keyboards/stront/keymaps/hid/hid_display.h3
-rw-r--r--keyboards/wilba_tech/via_test.c1
-rw-r--r--keyboards/wilba_tech/wt_mono_backlight.c5
-rw-r--r--keyboards/wilba_tech/wt_mono_backlight.h1
-rw-r--r--keyboards/wilba_tech/wt_rgb_backlight.c14
-rw-r--r--keyboards/wilba_tech/wt_rgb_backlight.h1
-rw-r--r--keyboards/wilba_tech/wt_rgb_backlight_keycodes.h2
-rw-r--r--keyboards/work_louder/rgb_functions.c5
-rw-r--r--keyboards/work_louder/rgb_functions.h2
-rw-r--r--keyboards/yushakobo/navpad/navpad_prefs.c5
-rw-r--r--keyboards/yushakobo/navpad/navpad_prefs.h2
-rw-r--r--keyboards/yushakobo/quick17/quick17_prefs.h4
-rw-r--r--keyboards/yushakobo/quick17/rgb_matrix_kb.inc1
60 files changed, 123 insertions, 70 deletions
diff --git a/keyboards/25keys/cassette42/common/oled_helper.c b/keyboards/25keys/cassette42/common/oled_helper.c
index 1c4148a7d9..83832a9947 100644
--- a/keyboards/25keys/cassette42/common/oled_helper.c
+++ b/keyboards/25keys/cassette42/common/oled_helper.c
@@ -1,5 +1,7 @@
1#include "oled_helper.h" 1#include "oled_helper.h"
2#include "quantum.h" 2#include "progmem.h"
3#include "rgblight.h"
4#include "oled_driver.h"
3#include <stdio.h> 5#include <stdio.h>
4#include <string.h> 6#include <string.h>
5 7
diff --git a/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.c b/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.c
index 0db58bfabd..c32f2a04d2 100644
--- a/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.c
+++ b/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.c
@@ -14,8 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include QMK_KEYBOARD_H
17#include "pimoroni_trackball.h" 18#include "pimoroni_trackball.h"
18#include "i2c_master.h" 19#include "i2c_master.h"
20#include "action.h"
21#include "timer.h"
22#include "print.h"
19 23
20static uint8_t scrolling = 0; 24static uint8_t scrolling = 0;
21static int16_t x_offset = 0; 25static int16_t x_offset = 0;
diff --git a/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.h b/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.h
index ca2559bec7..d85d4e60a9 100644
--- a/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.h
+++ b/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.h
@@ -16,8 +16,10 @@
16 16
17#pragma once 17#pragma once
18 18
19#include "quantum.h" 19#include <stdint.h>
20#include <stdbool.h>
20#include "pointing_device.h" 21#include "pointing_device.h"
22#include "report.h"
21 23
22#ifndef TRACKBALL_ADDRESS 24#ifndef TRACKBALL_ADDRESS
23# define TRACKBALL_ADDRESS (0x0A << 1) 25# define TRACKBALL_ADDRESS (0x0A << 1)
diff --git a/keyboards/annepro2/annepro2_ble.h b/keyboards/annepro2/annepro2_ble.h
index 0cfb68e071..37dd6d31a1 100644
--- a/keyboards/annepro2/annepro2_ble.h
+++ b/keyboards/annepro2/annepro2_ble.h
@@ -17,7 +17,6 @@
17#pragma once 17#pragma once
18 18
19#include "annepro2.h" 19#include "annepro2.h"
20#include "quantum.h"
21 20
22void annepro2_ble_bootload(void); 21void annepro2_ble_bootload(void);
23void annepro2_ble_startup(void); 22void annepro2_ble_startup(void);
diff --git a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c
index e148ae468a..6f76582e4b 100644
--- a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c
+++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c
@@ -4,6 +4,9 @@
4#include "satisfaction_core.h" 4#include "satisfaction_core.h"
5#include "print.h" 5#include "print.h"
6#include "debug.h" 6#include "debug.h"
7#include "matrix.h"
8#include "quantum.h"
9#include "encoder.h"
7 10
8#include <ch.h> 11#include <ch.h>
9#include <hal.h> 12#include <hal.h>
diff --git a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h
index 9c46642195..70ee2a3fda 100644
--- a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h
+++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h
@@ -3,7 +3,8 @@
3 3
4#pragma once 4#pragma once
5 5
6#include "quantum.h" 6#include <stdint.h>
7#include <stdbool.h>
7 8
8#include "via.h" // only for EEPROM address 9#include "via.h" // only for EEPROM address
9#include "satisfaction_keycodes.h" 10#include "satisfaction_keycodes.h"
diff --git a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_encoder.c b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_encoder.c
index 7122091ea3..074fe262b3 100644
--- a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_encoder.c
+++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_encoder.c
@@ -2,6 +2,7 @@
2// SPDX-License-Identifier: GPL-2.0-or-later 2// SPDX-License-Identifier: GPL-2.0-or-later
3 3
4#include "satisfaction_core.h" 4#include "satisfaction_core.h"
5#include "backlight.h"
5#include "eeprom.h" 6#include "eeprom.h"
6 7
7void pre_encoder_mode_change(void){ 8void pre_encoder_mode_change(void){
diff --git a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_oled.c b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_oled.c
index 18ae368e53..0361453c52 100644
--- a/keyboards/cannonkeys/lib/satisfaction75/satisfaction_oled.c
+++ b/keyboards/cannonkeys/lib/satisfaction75/satisfaction_oled.c
@@ -2,6 +2,14 @@
2// SPDX-License-Identifier: GPL-2.0-or-later 2// SPDX-License-Identifier: GPL-2.0-or-later
3 3
4#include "satisfaction_core.h" 4#include "satisfaction_core.h"
5#include "action_layer.h"
6#include "action_util.h"
7#include "timer.h"
8#include "matrix.h"
9#include "led.h"
10#include "host.h"
11#include "oled_driver.h"
12#include "progmem.h"
5#include <stdio.h> 13#include <stdio.h>
6 14
7void draw_default(void); 15void draw_default(void);
diff --git a/keyboards/clueboard/2x1800/2021/max7219.c b/keyboards/clueboard/2x1800/2021/max7219.c
index 1ba22362fe..81d26b9a51 100644
--- a/keyboards/clueboard/2x1800/2021/max7219.c
+++ b/keyboards/clueboard/2x1800/2021/max7219.c
@@ -40,6 +40,10 @@
40 */ 40 */
41 41
42#include "max7219.h" 42#include "max7219.h"
43#include "spi_master.h"
44#include "debug.h"
45#include "gpio.h"
46#include "wait.h"
43#include "font.h" 47#include "font.h"
44 48
45// Datastructures 49// Datastructures
diff --git a/keyboards/clueboard/2x1800/2021/max7219.h b/keyboards/clueboard/2x1800/2021/max7219.h
index 95d1d9389d..6d78345d5d 100644
--- a/keyboards/clueboard/2x1800/2021/max7219.h
+++ b/keyboards/clueboard/2x1800/2021/max7219.h
@@ -26,8 +26,10 @@
26 * OTHER DEALINGS IN THE SOFTWARE. 26 * OTHER DEALINGS IN THE SOFTWARE.
27 */ 27 */
28#pragma once 28#pragma once
29#include "quantum.h" 29
30#include "spi_master.h" 30#include <stddef.h>
31#include <stdint.h>
32#include <stdbool.h>
31 33
32// Set defaults if they're not set 34// Set defaults if they're not set
33#ifndef MAX7219_LOAD 35#ifndef MAX7219_LOAD
diff --git a/keyboards/converter/usb_usb/custom_matrix.cpp b/keyboards/converter/usb_usb/custom_matrix.cpp
index f5f751da14..ca0855a82b 100644
--- a/keyboards/converter/usb_usb/custom_matrix.cpp
+++ b/keyboards/converter/usb_usb/custom_matrix.cpp
@@ -35,10 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
35#include "host.h" 35#include "host.h"
36#include "keyboard.h" 36#include "keyboard.h"
37 37
38extern "C" {
39#include "quantum.h"
40}
41
42/* KEY CODE to Matrix 38/* KEY CODE to Matrix
43 * 39 *
44 * HID keycode(1 byte): 40 * HID keycode(1 byte):
diff --git a/keyboards/converter/xt_usb/xt.h b/keyboards/converter/xt_usb/xt.h
index 538ff0e459..e9c1c7751d 100644
--- a/keyboards/converter/xt_usb/xt.h
+++ b/keyboards/converter/xt_usb/xt.h
@@ -38,7 +38,8 @@ POSSIBILITY OF SUCH DAMAGE.
38 38
39#pragma once 39#pragma once
40 40
41#include "quantum.h" 41#include <stdint.h>
42#include "gpio.h"
42 43
43#define XT_DATA_IN() \ 44#define XT_DATA_IN() \
44 do { \ 45 do { \
diff --git a/keyboards/duck/duck_led/duck_led.c b/keyboards/duck/duck_led/duck_led.c
index 2fa920e4b6..ce9bd0fde1 100644
--- a/keyboards/duck/duck_led/duck_led.c
+++ b/keyboards/duck/duck_led/duck_led.c
@@ -1,6 +1,5 @@
1#include <avr/io.h>
2#include "duck_led.h" 1#include "duck_led.h"
3#include "quantum.h" 2#include "wait.h"
4 3
5void show(void) { 4void show(void) {
6 wait_us((RES / 1000UL) + 1); 5 wait_us((RES / 1000UL) + 1);
diff --git a/keyboards/duck/jetfire/indicator_leds.c b/keyboards/duck/jetfire/indicator_leds.c
index 7dbdb1ff79..200a9ce6ff 100644
--- a/keyboards/duck/jetfire/indicator_leds.c
+++ b/keyboards/duck/jetfire/indicator_leds.c
@@ -12,13 +12,10 @@ You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>. 12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/ 13*/
14 14
15#include "indicator_leds.h"
15#include <avr/interrupt.h> 16#include <avr/interrupt.h>
16#include <avr/io.h> 17#include <avr/io.h>
17#include <stdbool.h>
18#include <util/delay.h> 18#include <util/delay.h>
19#include <stdint.h>
20#include "indicator_leds.h"
21#include "quantum.h"
22 19
23#define LED_T1H 900 20#define LED_T1H 900
24#define LED_T1L 600 21#define LED_T1L 600
diff --git a/keyboards/duck/jetfire/indicator_leds.h b/keyboards/duck/jetfire/indicator_leds.h
index 36dda632fb..27dcc1535b 100644
--- a/keyboards/duck/jetfire/indicator_leds.h
+++ b/keyboards/duck/jetfire/indicator_leds.h
@@ -1,5 +1,7 @@
1#pragma once 1#pragma once
2 2
3#include <stdint.h>
4#include <stdbool.h>
3#include "duck_led/duck_led.h" 5#include "duck_led/duck_led.h"
4 6
5void backlight_init_ports(void); 7void backlight_init_ports(void);
diff --git a/keyboards/fallacy/indicators.h b/keyboards/fallacy/indicators.h
index 6de374cda8..838a698f7b 100755
--- a/keyboards/fallacy/indicators.h
+++ b/keyboards/fallacy/indicators.h
@@ -15,8 +15,7 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#include "quantum.h" 18#include <stdbool.h>
19
20 19
21void init_fallacy_leds(void); 20void init_fallacy_leds(void);
22void update_fallacy_leds(void); 21void update_fallacy_leds(void);
diff --git a/keyboards/handwired/d48/taphold.c b/keyboards/handwired/d48/taphold.c
index 0b56a5a6a1..5360391b97 100644
--- a/keyboards/handwired/d48/taphold.c
+++ b/keyboards/handwired/d48/taphold.c
@@ -1,4 +1,7 @@
1#include "taphold.h" 1#include "taphold.h"
2#include "action_layer.h"
3#include "keyboard.h"
4#include "timer.h"
2 5
3bool taphold_process(uint16_t keycode, keyrecord_t *record) { 6bool taphold_process(uint16_t keycode, keyrecord_t *record) {
4 for (int i = 0; i < taphold_config_size; i++) { 7 for (int i = 0; i < taphold_config_size; i++) {
diff --git a/keyboards/handwired/d48/taphold.h b/keyboards/handwired/d48/taphold.h
index 2a691aa63f..8788c58f3d 100644
--- a/keyboards/handwired/d48/taphold.h
+++ b/keyboards/handwired/d48/taphold.h
@@ -1,6 +1,8 @@
1#pragma once 1#pragma once
2 2
3#include "quantum.h" 3#include <stdint.h>
4#include <stdbool.h>
5#include "action.h"
4 6
5typedef enum taphold_mode_t { 7typedef enum taphold_mode_t {
6 TAPHOLD_LAYER, 8 TAPHOLD_LAYER,
diff --git a/keyboards/handwired/dactyl_minidox/3x5_3.c b/keyboards/handwired/dactyl_minidox/dactyl_minidox.c
index 5afb908d02..5afb908d02 100644
--- a/keyboards/handwired/dactyl_minidox/3x5_3.c
+++ b/keyboards/handwired/dactyl_minidox/dactyl_minidox.c
diff --git a/keyboards/handwired/dygma/raise/leds.c b/keyboards/handwired/dygma/raise/leds.c
index 53fa389206..ad15644579 100644
--- a/keyboards/handwired/dygma/raise/leds.c
+++ b/keyboards/handwired/dygma/raise/leds.c
@@ -14,15 +14,15 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "quantum.h" 17#include "leds.h"
18#include <string.h>
18#include "i2c_master.h" 19#include "i2c_master.h"
19#include "led_tables.h" 20#include "led_tables.h"
20#include "rgb_matrix.h" 21#include "rgb_matrix.h"
21#include <string.h> 22#include "wait.h"
22#include "raise.h" 23#include "raise.h"
23#include "wire-protocol-constants.h" 24#include "wire-protocol-constants.h"
24#include "print.h" 25#include "print.h"
25#include "leds.h"
26 26
27// Color order of LEDs is Green, Red, Blue. 27// Color order of LEDs is Green, Red, Blue.
28typedef struct PACKED { 28typedef struct PACKED {
diff --git a/keyboards/handwired/dygma/raise/leds.h b/keyboards/handwired/dygma/raise/leds.h
index c25a4326a9..1b7bfce2e2 100644
--- a/keyboards/handwired/dygma/raise/leds.h
+++ b/keyboards/handwired/dygma/raise/leds.h
@@ -16,8 +16,7 @@
16 16
17#pragma once 17#pragma once
18 18
19#include "quantum.h" 19#include <stdint.h>
20#include "rgb_matrix.h"
21 20
22extern const uint8_t led_map[RGB_MATRIX_LED_COUNT]; 21extern const uint8_t led_map[RGB_MATRIX_LED_COUNT];
23 22
diff --git a/keyboards/handwired/lagrange/transport.c b/keyboards/handwired/lagrange/transport.c
index 8f6973925f..ec91cff306 100644
--- a/keyboards/handwired/lagrange/transport.c
+++ b/keyboards/handwired/lagrange/transport.c
@@ -14,9 +14,7 @@
14 * along with this program. If not, see <https://www.gnu.org/licenses/>. 14 * along with this program. If not, see <https://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include <spi_master.h> 17#include "spi_master.h"
18
19#include "quantum.h"
20#include "split_util.h" 18#include "split_util.h"
21#include "transport.h" 19#include "transport.h"
22#include "timer.h" 20#include "timer.h"
diff --git a/keyboards/handwired/promethium/keymaps/default/keymap.c b/keyboards/handwired/promethium/keymaps/default/keymap.c
index ff73e51d5e..8af82d8297 100644
--- a/keyboards/handwired/promethium/keymaps/default/keymap.c
+++ b/keyboards/handwired/promethium/keymaps/default/keymap.c
@@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22#endif 22#endif
23#include "eeconfig.h" 23#include "eeconfig.h"
24#include "process_unicode.h" 24#include "process_unicode.h"
25#include "quantum.h"
26#ifdef RGBSPS_ENABLE 25#ifdef RGBSPS_ENABLE
27#include "rgbsps.h" 26#include "rgbsps.h"
28#include "rgbtheme.h" 27#include "rgbtheme.h"
diff --git a/keyboards/horrortroll/nyx/rev1/nyx.c b/keyboards/horrortroll/nyx/rev1/rev1.c
index fb4ce3183b..fb4ce3183b 100644
--- a/keyboards/horrortroll/nyx/rev1/nyx.c
+++ b/keyboards/horrortroll/nyx/rev1/rev1.c
diff --git a/keyboards/hotdox/left.c b/keyboards/hotdox/left.c
index 5196fb3115..ac51322476 100644
--- a/keyboards/hotdox/left.c
+++ b/keyboards/hotdox/left.c
@@ -1,5 +1,6 @@
1#include "action.h" 1#include "action.h"
2#include "left.h" 2#include "left.h"
3#include "print.h"
3#include "wait.h" 4#include "wait.h"
4 5
5bool i2c_initialized = false; 6bool i2c_initialized = false;
diff --git a/keyboards/hotdox/left.h b/keyboards/hotdox/left.h
index 32faadba21..931d98d8e5 100644
--- a/keyboards/hotdox/left.h
+++ b/keyboards/hotdox/left.h
@@ -1,9 +1,7 @@
1#pragma once 1#pragma once
2 2
3#include "quantum.h"
4#include <stdint.h> 3#include <stdint.h>
5#include "i2c_master.h" 4#include "i2c_master.h"
6#include <util/delay.h>
7 5
8#define MCP23017 6#define MCP23017
9#define MCP23017_A0 0 7#define MCP23017_A0 0
@@ -43,8 +41,6 @@ void left_scan(void);
43uint8_t left_read_cols(void); 41uint8_t left_read_cols(void);
44uint8_t left_get_col(uint8_t col); 42uint8_t left_get_col(uint8_t col);
45 43
46matrix_row_t left_read_row(void);
47
48void left_unselect_rows(void); 44void left_unselect_rows(void);
49void left_select_row(uint8_t row); 45void left_select_row(uint8_t row);
50 46
diff --git a/keyboards/idobao/id61/keymaps/idobao/specialk.c b/keyboards/idobao/id61/keymaps/idobao/specialk.c
index 03a31e6804..9b7e481d68 100644
--- a/keyboards/idobao/id61/keymaps/idobao/specialk.c
+++ b/keyboards/idobao/id61/keymaps/idobao/specialk.c
@@ -2,6 +2,9 @@
2// SPDX-License-Identifier: GPL-2.0-or-later 2// SPDX-License-Identifier: GPL-2.0-or-later
3 3
4#include "specialk.h" 4#include "specialk.h"
5#include "keycodes.h"
6#include "action_layer.h"
7#include "action_util.h"
5 8
6bool delkey_registered = false; 9bool delkey_registered = false;
7uint32_t __keycode_raised = 0; 10uint32_t __keycode_raised = 0;
diff --git a/keyboards/idobao/id61/keymaps/idobao/specialk.h b/keyboards/idobao/id61/keymaps/idobao/specialk.h
index a2ec124de8..a79cde5953 100644
--- a/keyboards/idobao/id61/keymaps/idobao/specialk.h
+++ b/keyboards/idobao/id61/keymaps/idobao/specialk.h
@@ -5,8 +5,7 @@
5 5
6#include <stdint.h> 6#include <stdint.h>
7#include <stdbool.h> 7#include <stdbool.h>
8#include "util.h" 8#include "action.h"
9#include "quantum.h"
10 9
11bool ID61_process_special_k(uint16_t keycode, keyrecord_t *record, bool arrow_mode, uint8_t k_norm, uint8_t k_spcl, uint8_t k_altr); 10bool ID61_process_special_k(uint16_t keycode, keyrecord_t *record, bool arrow_mode, uint8_t k_norm, uint8_t k_spcl, uint8_t k_altr);
12bool ID61_backspace_special(uint16_t keycode, keyrecord_t *record); 11bool ID61_backspace_special(uint16_t keycode, keyrecord_t *record);
diff --git a/keyboards/input_club/k_type/i2c_master.c b/keyboards/input_club/k_type/i2c_master.c
index e25ae2ef6f..a55b2fb38c 100644
--- a/keyboards/input_club/k_type/i2c_master.c
+++ b/keyboards/input_club/k_type/i2c_master.c
@@ -27,10 +27,11 @@
27 27
28#ifdef RGB_MATRIX_ENABLE 28#ifdef RGB_MATRIX_ENABLE
29 29
30
31#include "quantum.h"
32#include "i2c_master.h" 30#include "i2c_master.h"
31#include "gpio.h"
32#include "chibios_config.h"
33#include <string.h> 33#include <string.h>
34#include <ch.h>
34#include <hal.h> 35#include <hal.h>
35 36
36static uint8_t i2c_address; 37static uint8_t i2c_address;
diff --git a/keyboards/kagizaraya/chidori/board.c b/keyboards/kagizaraya/chidori/board.c
index 34e57a8874..2834f7625b 100644
--- a/keyboards/kagizaraya/chidori/board.c
+++ b/keyboards/kagizaraya/chidori/board.c
@@ -19,7 +19,6 @@
19#include "print.h" 19#include "print.h"
20#include "debug.h" 20#include "debug.h"
21#include "matrix.h" 21#include "matrix.h"
22#include "quantum.h"
23#include "board.h" 22#include "board.h"
24#include "i2c_master.h" 23#include "i2c_master.h"
25 24
diff --git a/keyboards/keyboardio/model01/leds.c b/keyboards/keyboardio/model01/leds.c
index 3fb502cb27..656e176bfa 100644
--- a/keyboards/keyboardio/model01/leds.c
+++ b/keyboards/keyboardio/model01/leds.c
@@ -13,7 +13,8 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "quantum.h" 16
17#include "leds.h"
17#include "i2c_master.h" 18#include "i2c_master.h"
18#include "led_tables.h" 19#include "led_tables.h"
19#include "rgb_matrix.h" 20#include "rgb_matrix.h"
diff --git a/keyboards/keyboardio/model01/leds.h b/keyboards/keyboardio/model01/leds.h
index 4d185919b0..6f5e12a6a8 100644
--- a/keyboards/keyboardio/model01/leds.h
+++ b/keyboards/keyboardio/model01/leds.h
@@ -15,8 +15,7 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#include "quantum.h" 18#include <stdint.h>
19#include "rgb_matrix.h"
20 19
21void set_all_leds_to(uint8_t r, uint8_t g, uint8_t b); 20void set_all_leds_to(uint8_t r, uint8_t g, uint8_t b);
22void set_led_to(int led, uint8_t r, uint8_t g, uint8_t b); 21void set_led_to(int led, uint8_t r, uint8_t g, uint8_t b);
diff --git a/keyboards/matrix/m20add/rgb_ring.c b/keyboards/matrix/m20add/rgb_ring.c
index f32875cf4f..ecdac9130a 100644
--- a/keyboards/matrix/m20add/rgb_ring.c
+++ b/keyboards/matrix/m20add/rgb_ring.c
@@ -18,9 +18,13 @@
18 18
19#include "rgb_ring.h" 19#include "rgb_ring.h"
20 20
21#include <stdint.h>
22#include <stdbool.h>
21#include <string.h> 23#include <string.h>
22#include "quantum.h" 24#include "quantum.h"
23#include "rgblight.h" 25#include "rgblight.h"
26#include "timer.h"
27#include "action.h"
24#include "drivers/led/issi/is31fl3731.h" 28#include "drivers/led/issi/is31fl3731.h"
25#include "i2c_master.h" 29#include "i2c_master.h"
26 30
diff --git a/keyboards/miiiw/common/shift_register.c b/keyboards/miiiw/common/shift_register.c
index 1f21c12468..2c9259180e 100644
--- a/keyboards/miiiw/common/shift_register.c
+++ b/keyboards/miiiw/common/shift_register.c
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "quantum.h"
18#include "shift_register.h" 17#include "shift_register.h"
18#include <string.h>
19 19
20static void shift_out(void); 20static void shift_out(void);
21 21
diff --git a/keyboards/miiiw/common/shift_register.h b/keyboards/miiiw/common/shift_register.h
index f9895e63f8..8d72149be2 100644
--- a/keyboards/miiiw/common/shift_register.h
+++ b/keyboards/miiiw/common/shift_register.h
@@ -16,6 +16,7 @@
16 16
17#pragma once 17#pragma once
18 18
19#include <stdint.h>
19#include "gpio.h" 20#include "gpio.h"
20 21
21#ifndef GPIOH_BASE 22#ifndef GPIOH_BASE
diff --git a/keyboards/mntre_v3/mntre.c b/keyboards/mntre_v3/mntre_v3.c
index 80ed074c2f..80ed074c2f 100644
--- a/keyboards/mntre_v3/mntre.c
+++ b/keyboards/mntre_v3/mntre_v3.c
diff --git a/keyboards/molecule/adns.c b/keyboards/molecule/adns.c
index 96fc83ee0b..0648193557 100644
--- a/keyboards/molecule/adns.c
+++ b/keyboards/molecule/adns.c
@@ -16,7 +16,7 @@
16#include "spi_master.h" 16#include "spi_master.h"
17#include "adns.h" 17#include "adns.h"
18#include "debug.h" 18#include "debug.h"
19#include "quantum.h" 19#include "wait.h"
20#include "pointing_device.h" 20#include "pointing_device.h"
21#include "adns9800_srom_A6.h" 21#include "adns9800_srom_A6.h"
22 22
diff --git a/keyboards/molecule/adns.h b/keyboards/molecule/adns.h
index d684d3cbcb..e557aeb2ec 100644
--- a/keyboards/molecule/adns.h
+++ b/keyboards/molecule/adns.h
@@ -15,6 +15,8 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#include <stdint.h>
19
18void adns_begin(void); 20void adns_begin(void);
19 21
20void adns_end(void); 22void adns_end(void);
diff --git a/keyboards/nullbitsco/common/bitc_led.h b/keyboards/nullbitsco/common/bitc_led.h
index 14cd4f15b7..c649f1c1dd 100644
--- a/keyboards/nullbitsco/common/bitc_led.h
+++ b/keyboards/nullbitsco/common/bitc_led.h
@@ -15,7 +15,8 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#include "quantum.h" 18#include <stdint.h>
19#include "gpio.h"
19 20
20#define LED_ON 2 21#define LED_ON 2
21#define LED_DIM 1 22#define LED_DIM 1
diff --git a/keyboards/nullbitsco/common/remote_kb.c b/keyboards/nullbitsco/common/remote_kb.c
index 8e3f7f6766..bd2b396e6b 100644
--- a/keyboards/nullbitsco/common/remote_kb.c
+++ b/keyboards/nullbitsco/common/remote_kb.c
@@ -27,7 +27,10 @@ This will require a new communication protocol, as the current one is limited.
27*/ 27*/
28 28
29#include "remote_kb.h" 29#include "remote_kb.h"
30#include "quantum.h"
30#include "uart.h" 31#include "uart.h"
32#include "wait.h"
33#include "debug.h"
31 34
32uint8_t 35uint8_t
33 msg[UART_MSG_LEN], 36 msg[UART_MSG_LEN],
diff --git a/keyboards/nullbitsco/common/remote_kb.h b/keyboards/nullbitsco/common/remote_kb.h
index da124bf5f4..97d299189d 100644
--- a/keyboards/nullbitsco/common/remote_kb.h
+++ b/keyboards/nullbitsco/common/remote_kb.h
@@ -15,7 +15,8 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#include "quantum.h" 18#include <stdint.h>
19#include "action.h"
19 20
20#define SERIAL_UART_BAUD 76800 //low error rate for 32u4 @ 16MHz 21#define SERIAL_UART_BAUD 76800 //low error rate for 32u4 @ 16MHz
21 22
diff --git a/keyboards/nullbitsco/nibble/big_led.h b/keyboards/nullbitsco/nibble/big_led.h
index 4ebcc35f08..1198d3490b 100644
--- a/keyboards/nullbitsco/nibble/big_led.h
+++ b/keyboards/nullbitsco/nibble/big_led.h
@@ -15,7 +15,8 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#include "quantum.h" 18#include <stdint.h>
19#include "gpio.h"
19 20
20/* Optional big LED pins */ 21/* Optional big LED pins */
21#define BIG_LED_R_PIN D7 22#define BIG_LED_R_PIN D7
diff --git a/keyboards/nullbitsco/nibble/keymaps/oled_status/oled_display.c b/keyboards/nullbitsco/nibble/keymaps/oled_status/oled_display.c
index c734e80cef..11a0e1f11e 100644
--- a/keyboards/nullbitsco/nibble/keymaps/oled_status/oled_display.c
+++ b/keyboards/nullbitsco/nibble/keymaps/oled_status/oled_display.c
@@ -13,8 +13,15 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "quantum.h" 16
17#include "oled_display.h" 17#include "oled_display.h"
18#include "keycodes.h"
19#include "progmem.h"
20#include "host.h"
21#include "timer.h"
22#include "wpm.h"
23#include "rgblight.h"
24#include "oled_driver.h"
18 25
19static const char PROGMEM oled_mode_messages[5][15] = { 26static const char PROGMEM oled_mode_messages[5][15] = {
20 "", 27 "",
diff --git a/keyboards/nullbitsco/nibble/keymaps/oled_status/oled_display.h b/keyboards/nullbitsco/nibble/keymaps/oled_status/oled_display.h
index bd59d44b41..7f2b5e1e77 100644
--- a/keyboards/nullbitsco/nibble/keymaps/oled_status/oled_display.h
+++ b/keyboards/nullbitsco/nibble/keymaps/oled_status/oled_display.h
@@ -15,6 +15,8 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#include <stdint.h>
19
18typedef enum { 20typedef enum {
19 OLED_MODE_IDLE = 0, 21 OLED_MODE_IDLE = 0,
20 OLED_MODE_VOLUME_UP = 1, 22 OLED_MODE_VOLUME_UP = 1,
diff --git a/keyboards/rocketboard_16/keycode_lookup.c b/keyboards/rocketboard_16/keycode_lookup.c
index 61b73bd0c0..cb8b0330c2 100644
--- a/keyboards/rocketboard_16/keycode_lookup.c
+++ b/keyboards/rocketboard_16/keycode_lookup.c
@@ -15,8 +15,11 @@
15 */ 15 */
16 16
17#include "keycode_lookup.h" 17#include "keycode_lookup.h"
18#include "quantum_keycodes.h"
19#include "keymap_us.h"
18#include "print.h" 20#include "print.h"
19#include "via.h" 21#include "via.h"
22#include "util.h"
20 23
21#define num_keycodes ARRAY_SIZE(lookup_table) 24#define num_keycodes ARRAY_SIZE(lookup_table)
22static char UNKNOWN_KEYCODE[] = "UNKNOWN"; 25static char UNKNOWN_KEYCODE[] = "UNKNOWN";
@@ -289,7 +292,7 @@ lookup_table_t lookup_table[333] =
289 {"KC_QUES", KC_QUES}, 292 {"KC_QUES", KC_QUES},
290 {"QK_BOOT", QK_BOOT}, 293 {"QK_BOOT", QK_BOOT},
291 {"DB_TOGG", DB_TOGG}, 294 {"DB_TOGG", DB_TOGG},
292 {"MAGIC_TOGGLE_NKRO", MAGIC_TOGGLE_NKRO}, 295 {"NK_TOGG", NK_TOGG},
293 {"QK_GESC", QK_GESC}, 296 {"QK_GESC", QK_GESC},
294 {"AU_ON", AU_ON}, 297 {"AU_ON", AU_ON},
295 {"AU_OFF", AU_OFF}, 298 {"AU_OFF", AU_OFF},
diff --git a/keyboards/rocketboard_16/keycode_lookup.h b/keyboards/rocketboard_16/keycode_lookup.h
index 35f0b66f25..06f0efb53b 100644
--- a/keyboards/rocketboard_16/keycode_lookup.h
+++ b/keyboards/rocketboard_16/keycode_lookup.h
@@ -16,7 +16,7 @@
16 16
17#pragma once 17#pragma once
18 18
19#include "quantum.h" 19#include <stdint.h>
20 20
21typedef struct 21typedef struct
22{ 22{
diff --git a/keyboards/sirius/unigo66/custom_matrix.cpp b/keyboards/sirius/unigo66/custom_matrix.cpp
index 07c6df2981..25648a5f78 100644
--- a/keyboards/sirius/unigo66/custom_matrix.cpp
+++ b/keyboards/sirius/unigo66/custom_matrix.cpp
@@ -35,10 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
35#include "host.h" 35#include "host.h"
36#include "keyboard.h" 36#include "keyboard.h"
37 37
38extern "C" {
39#include "quantum.h"
40}
41
42/* KEY CODE to Matrix 38/* KEY CODE to Matrix
43 * 39 *
44 * HID keycode(1 byte): 40 * HID keycode(1 byte):
diff --git a/keyboards/stront/keymaps/hid/hid_display.h b/keyboards/stront/keymaps/hid/hid_display.h
index b93bf64716..e823d3e8a4 100644
--- a/keyboards/stront/keymaps/hid/hid_display.h
+++ b/keyboards/stront/keymaps/hid/hid_display.h
@@ -1,7 +1,8 @@
1// Copyright 2023 zzeneg (@zzeneg) 1// Copyright 2023 zzeneg (@zzeneg)
2// SPDX-License-Identifier: GPL-2.0-or-later 2// SPDX-License-Identifier: GPL-2.0-or-later
3 3
4#include "quantum.h" 4#include <stdint.h>
5#include <stdbool.h>
5 6
6typedef enum { 7typedef enum {
7 _QWERTY = 0, 8 _QWERTY = 0,
diff --git a/keyboards/wilba_tech/via_test.c b/keyboards/wilba_tech/via_test.c
index 6a74df5164..314ec4472c 100644
--- a/keyboards/wilba_tech/via_test.c
+++ b/keyboards/wilba_tech/via_test.c
@@ -14,7 +14,6 @@
14// - add `#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 128` to config.h 14// - add `#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 128` to config.h
15// (or change to match CHANNELS*VALUES*2) 15// (or change to match CHANNELS*VALUES*2)
16 16
17#include "quantum.h"
18#include "via.h" 17#include "via.h"
19 18
20#ifdef VIA_ENABLE 19#ifdef VIA_ENABLE
diff --git a/keyboards/wilba_tech/wt_mono_backlight.c b/keyboards/wilba_tech/wt_mono_backlight.c
index 1523fbdb85..1426e09fc6 100644
--- a/keyboards/wilba_tech/wt_mono_backlight.c
+++ b/keyboards/wilba_tech/wt_mono_backlight.c
@@ -14,16 +14,15 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include "quantum.h"
18#include "wt_mono_backlight.h" 17#include "wt_mono_backlight.h"
19#include "wt_rgb_backlight_api.h" // reuse these for now 18#include "wt_rgb_backlight_api.h" // reuse these for now
20#include "wt_rgb_backlight_keycodes.h" // reuse these for now 19#include "wt_rgb_backlight_keycodes.h" // reuse these for now
21 20
21#include <stdlib.h>
22#include <avr/interrupt.h> 22#include <avr/interrupt.h>
23#include "i2c_master.h" 23#include "i2c_master.h"
24 24#include "host.h"
25#include "progmem.h" 25#include "progmem.h"
26#include "quantum/color.h"
27#include "eeprom.h" 26#include "eeprom.h"
28 27
29#include "via.h" // uses EEPROM address, lighting value IDs 28#include "via.h" // uses EEPROM address, lighting value IDs
diff --git a/keyboards/wilba_tech/wt_mono_backlight.h b/keyboards/wilba_tech/wt_mono_backlight.h
index 9bf76b44bb..fb77ec66e1 100644
--- a/keyboards/wilba_tech/wt_mono_backlight.h
+++ b/keyboards/wilba_tech/wt_mono_backlight.h
@@ -19,6 +19,7 @@
19#include <stdint.h> 19#include <stdint.h>
20#include <stdbool.h> 20#include <stdbool.h>
21 21
22#include "action.h"
22#include "quantum/color.h" 23#include "quantum/color.h"
23 24
24typedef struct PACKED 25typedef struct PACKED
diff --git a/keyboards/wilba_tech/wt_rgb_backlight.c b/keyboards/wilba_tech/wt_rgb_backlight.c
index d03d189b29..02bcdd610b 100644
--- a/keyboards/wilba_tech/wt_rgb_backlight.c
+++ b/keyboards/wilba_tech/wt_rgb_backlight.c
@@ -40,19 +40,15 @@
40#error wt_rgb_backlight.c compiled without setting configuration symbol 40#error wt_rgb_backlight.c compiled without setting configuration symbol
41#endif 41#endif
42 42
43#ifndef MAX
44 #define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
45#endif
46
47#ifndef MIN
48 #define MIN(a,b) ((a) < (b)? (a): (b))
49#endif
50
51#include "quantum.h"
52#include "wt_rgb_backlight.h" 43#include "wt_rgb_backlight.h"
53#include "wt_rgb_backlight_api.h" 44#include "wt_rgb_backlight_api.h"
54#include "wt_rgb_backlight_keycodes.h" 45#include "wt_rgb_backlight_keycodes.h"
55 46
47#include <stdlib.h>
48#include "quantum.h"
49#include "host.h"
50#include "util.h"
51
56#if !defined(RGB_BACKLIGHT_HS60) && !defined(RGB_BACKLIGHT_NK65) && !defined(RGB_BACKLIGHT_NK87) && !defined(RGB_BACKLIGHT_NEBULA68) && !defined(RGB_BACKLIGHT_NEBULA12) && !defined (RGB_BACKLIGHT_KW_MEGA) 52#if !defined(RGB_BACKLIGHT_HS60) && !defined(RGB_BACKLIGHT_NK65) && !defined(RGB_BACKLIGHT_NK87) && !defined(RGB_BACKLIGHT_NEBULA68) && !defined(RGB_BACKLIGHT_NEBULA12) && !defined (RGB_BACKLIGHT_KW_MEGA)
57#include <avr/interrupt.h> 53#include <avr/interrupt.h>
58#include "i2c_master.h" 54#include "i2c_master.h"
diff --git a/keyboards/wilba_tech/wt_rgb_backlight.h b/keyboards/wilba_tech/wt_rgb_backlight.h
index 6fb2ee2122..5662178197 100644
--- a/keyboards/wilba_tech/wt_rgb_backlight.h
+++ b/keyboards/wilba_tech/wt_rgb_backlight.h
@@ -23,6 +23,7 @@
23#include <stdint.h> 23#include <stdint.h>
24#include <stdbool.h> 24#include <stdbool.h>
25 25
26#include "action.h"
26#include "quantum/color.h" 27#include "quantum/color.h"
27 28
28typedef struct PACKED 29typedef struct PACKED
diff --git a/keyboards/wilba_tech/wt_rgb_backlight_keycodes.h b/keyboards/wilba_tech/wt_rgb_backlight_keycodes.h
index b8c23c4b07..79016744af 100644
--- a/keyboards/wilba_tech/wt_rgb_backlight_keycodes.h
+++ b/keyboards/wilba_tech/wt_rgb_backlight_keycodes.h
@@ -15,6 +15,8 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#include "keycodes.h"
19
18enum wt_rgb_backlight_keycodes { 20enum wt_rgb_backlight_keycodes {
19 BR_INC = QK_KB_0, // brightness increase 21 BR_INC = QK_KB_0, // brightness increase
20 BR_DEC, // brightness decrease 22 BR_DEC, // brightness decrease
diff --git a/keyboards/work_louder/rgb_functions.c b/keyboards/work_louder/rgb_functions.c
index 36f9da013e..bc31aab7c1 100644
--- a/keyboards/work_louder/rgb_functions.c
+++ b/keyboards/work_louder/rgb_functions.c
@@ -15,6 +15,11 @@
15 */ 15 */
16 16
17#include "rgb_functions.h" 17#include "rgb_functions.h"
18#include <stdint.h>
19#include "quantum.h"
20#include "action.h"
21#include "rgblight.h"
22#include "rgb_matrix.h"
18 23
19#ifdef RGBLIGHT_ENABLE 24#ifdef RGBLIGHT_ENABLE
20#undef WS2812_DI_PIN 25#undef WS2812_DI_PIN
diff --git a/keyboards/work_louder/rgb_functions.h b/keyboards/work_louder/rgb_functions.h
index 9ad7cdb19c..eaef787a22 100644
--- a/keyboards/work_louder/rgb_functions.h
+++ b/keyboards/work_louder/rgb_functions.h
@@ -16,7 +16,7 @@
16 16
17#pragma once 17#pragma once
18 18
19#include "quantum.h" 19#include "keycodes.h"
20 20
21#ifndef VIA_ENABLE 21#ifndef VIA_ENABLE
22# ifndef RGB_MATRIX_TOGGLE 22# ifndef RGB_MATRIX_TOGGLE
diff --git a/keyboards/yushakobo/navpad/navpad_prefs.c b/keyboards/yushakobo/navpad/navpad_prefs.c
index 1ffd441674..08b7464cf9 100644
--- a/keyboards/yushakobo/navpad/navpad_prefs.c
+++ b/keyboards/yushakobo/navpad/navpad_prefs.c
@@ -15,6 +15,11 @@
15 */ 15 */
16 16
17#include "navpad_prefs.h" 17#include "navpad_prefs.h"
18#include "quantum.h"
19#include "action.h"
20#include "action_layer.h"
21#include "rgblight.h"
22#include "led.h"
18 23
19bool process_record_kb(uint16_t keycode, keyrecord_t *record) { 24bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
20 if (!process_record_user(keycode, record)) { return false; } 25 if (!process_record_user(keycode, record)) { return false; }
diff --git a/keyboards/yushakobo/navpad/navpad_prefs.h b/keyboards/yushakobo/navpad/navpad_prefs.h
index d9d2286e5b..6c73e1ed07 100644
--- a/keyboards/yushakobo/navpad/navpad_prefs.h
+++ b/keyboards/yushakobo/navpad/navpad_prefs.h
@@ -16,7 +16,7 @@
16 16
17#pragma once 17#pragma once
18 18
19#include "quantum.h" 19#include "keycodes.h"
20 20
21enum custom_keycodes { 21enum custom_keycodes {
22 TAP_00 = QK_KB_0 22 TAP_00 = QK_KB_0
diff --git a/keyboards/yushakobo/quick17/quick17_prefs.h b/keyboards/yushakobo/quick17/quick17_prefs.h
index 25f2e1e0ae..a498381cee 100644
--- a/keyboards/yushakobo/quick17/quick17_prefs.h
+++ b/keyboards/yushakobo/quick17/quick17_prefs.h
@@ -16,7 +16,9 @@
16 16
17#pragma once 17#pragma once
18 18
19#include "quantum.h" 19#include <stdint.h>
20#include <stdbool.h>
21#include "color.h"
20 22
21enum layer_names { 23enum layer_names {
22 _CONTROL, 24 _CONTROL,
diff --git a/keyboards/yushakobo/quick17/rgb_matrix_kb.inc b/keyboards/yushakobo/quick17/rgb_matrix_kb.inc
index 34b410ce57..4998cce029 100644
--- a/keyboards/yushakobo/quick17/rgb_matrix_kb.inc
+++ b/keyboards/yushakobo/quick17/rgb_matrix_kb.inc
@@ -3,6 +3,7 @@ RGB_MATRIX_EFFECT(quick17_rgbm_effect)
3#ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS 3#ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS
4 4
5#include "quick17_prefs.h" 5#include "quick17_prefs.h"
6#include "quantum.h"
6 7
7#define LED_LAYOUT(\ 8#define LED_LAYOUT(\
8 L00, L01, L02, L03, L04, L05, \ 9 L00, L01, L02, L03, L04, L05, \