forked from mirrors/qmk_userspace
quantum: remove direct quantum.h includes (#21507)
This commit is contained in:
parent
b9e5895184
commit
da2d2f947d
51 changed files with 208 additions and 62 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// Copyright 2022 Cole Smith <cole@boadsource.xyz>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#include "encoder.h"
|
||||
#include "quantum.h"
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||
|
|
|
|||
|
|
@ -19,8 +19,7 @@
|
|||
#include "rgb_matrix.h"
|
||||
#include "i2c_master.h"
|
||||
#include "is31fl3733-dual.h"
|
||||
|
||||
|
||||
#include "gpio.h"
|
||||
|
||||
static void init(void) {
|
||||
i2c_init(&I2CD1, I2C1_SCL_PIN, I2C1_SDA_PIN);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright 2023 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ RGB_MATRIX_EFFECT(unlocked)
|
|||
#ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS
|
||||
|
||||
#include "dynamic_keymap.h"
|
||||
#include "action_layer.h"
|
||||
|
||||
static bool active_keys_initialized = false;
|
||||
static uint8_t active_keys_table[RGB_MATRIX_LED_COUNT] = {0};
|
||||
|
|
|
|||
|
|
@ -22,6 +22,12 @@
|
|||
#include "raw_hid.h"
|
||||
#include "rgb_matrix.h"
|
||||
#include "version.h"
|
||||
#include "keyboard.h"
|
||||
#include "eeprom.h"
|
||||
#include "matrix.h"
|
||||
#include "action_layer.h"
|
||||
#include "bootloader.h"
|
||||
#include "wait.h"
|
||||
|
||||
enum Command {
|
||||
CMD_PROBE = 1, // Probe for System76 EC protocol
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue