Rearrange plugin headers with `include-what-you-use`

In some cases, manual changes were required.

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/1138/head
Michael Richters 3 years ago
parent 80953368d1
commit fd98ea2207

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/AutoShift.h>
#include "kaleidoscope/plugin/AutoShift.h" // IWYU pragma: export

@ -17,11 +17,14 @@
#include "kaleidoscope/plugin/AutoShift.h"
#include "kaleidoscope/KeyAddr.h"
#include "kaleidoscope/key_defs.h"
#include "kaleidoscope/KeyEvent.h"
#include "kaleidoscope/keyswitch_state.h"
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/KeyAddr.h" // for KeyAddr, MatrixAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/KeyEventTracker.h" // for KeyEventTracker
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/key_defs.h" // for Key, Key_0, Key_1, Key_A
#include "kaleidoscope/keyswitch_state.h" // for keyToggledOn, keyIsInjected
// IWYU pragma: no_include "HIDAliases.h"
namespace kaleidoscope {
namespace plugin {

@ -17,9 +17,14 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/KeyEventTracker.h"
#include "kaleidoscope/KeyAddrEventQueue.h"
#include <stdint.h> // for uint8_t, uint16_t
#include "kaleidoscope/KeyAddrEventQueue.h" // for KeyAddrEventQueue
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/KeyEventTracker.h" // for KeyEventTracker
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

@ -15,12 +15,17 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kaleidoscope/plugin/AutoShift.h"
#include "kaleidoscope/plugin/AutoShift.h" // IWYU pragma: associated
#include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-FocusSerial.h>
#include <Arduino.h> // for PSTR, strcmp_P, str...
#include <Kaleidoscope-EEPROM-Settings.h> // for EEPROMSettings
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <stdint.h> // for uint16_t, uint8_t
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/Base.h" // for Base<>::Storage
#include "kaleidoscope/device/virtual/Virtual.h" // for VirtualProps::Storage
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
namespace kaleidoscope {
namespace plugin {

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/CharShift.h>
#include "kaleidoscope/plugin/CharShift.h" // IWYU pragma: export

@ -17,15 +17,21 @@
#include "kaleidoscope/plugin/CharShift.h"
#include <Kaleidoscope-Ranges.h>
#include <Kaleidoscope-FocusSerial.h>
#include "kaleidoscope/KeyAddr.h"
#include "kaleidoscope/key_defs.h"
#include "kaleidoscope/KeyEvent.h"
#include "kaleidoscope/keyswitch_state.h"
#include "kaleidoscope/progmem_helpers.h"
#include "kaleidoscope/Runtime.h"
#include <Arduino.h> // for F, __FlashS...
#include <Kaleidoscope-FocusSerial.h> // for Focus, Focu...
#include <Kaleidoscope-Ranges.h> // for CS_FIRST
#include "kaleidoscope/KeyAddrMap.h" // for KeyAddrMap<...
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/KeyMap.h" // for KeyMap
#include "kaleidoscope/LiveKeys.h" // for LiveKeys
#include "kaleidoscope/Runtime.h" // for Runtime
#include "kaleidoscope/device/Base.h" // for Base<>::HID
#include "kaleidoscope/device/virtual/Virtual.h" // for VirtualProp...
#include "kaleidoscope/driver/hid/keyboardio/Keyboard.h" // for Keyboard
#include "kaleidoscope/key_defs.h" // for Key, Key_NoKey
#include "kaleidoscope/keyswitch_state.h" // for keyToggledOff
#include "kaleidoscope/progmem_helpers.h" // for cloneFromPr...
namespace kaleidoscope {
namespace plugin {

@ -17,9 +17,14 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-Ranges.h>
#include <Kaleidoscope-Ranges.h> // for CS_FIRST
#include <stdint.h> // for uint8_t
#include "Arduino.h" // for PROGMEM
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/Colormap.h>
#include "kaleidoscope/plugin/Colormap.h" // IWYU pragma: export

@ -15,11 +15,18 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kaleidoscope/plugin/Colormap.h"
#include <Kaleidoscope-Colormap.h>
#include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-FocusSerial.h>
#include "kaleidoscope/layers.h"
#include <Arduino.h> // for F, PSTR, __FlashStrin...
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <Kaleidoscope-LED-Palette-Theme.h> // for LEDPaletteTheme
#include <stdint.h> // for uint8_t, uint16_t
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/layers.h" // for Layer, Layer_
#include "kaleidoscope/plugin/LEDControl.h" // for LEDControl
namespace kaleidoscope {
namespace plugin {

@ -17,8 +17,14 @@
#pragma once
#include <Kaleidoscope-LEDControl.h>
#include <Kaleidoscope-LED-Palette-Theme.h>
#include <stdint.h> // for uint8_t, uin...
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/event_handler_result.h" // for EventHandler...
#include "kaleidoscope/plugin.h" // for Plugin
#include "kaleidoscope/plugin/AccessTransientLEDMode.h" // for AccessTransi...
#include "kaleidoscope/plugin/LEDMode.h" // for LEDMode
#include "kaleidoscope/plugin/LEDModeInterface.h" // for LEDModeInter...
namespace kaleidoscope {
namespace plugin {

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/Cycle.h>
#include "kaleidoscope/plugin/Cycle.h" // IWYU pragma: export

@ -15,10 +15,19 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-Cycle.h>
#include <Kaleidoscope-FocusSerial.h>
#include "kaleidoscope/keyswitch_state.h"
#include "kaleidoscope/plugin/Cycle.h"
#include <Arduino.h> // for F, __FlashStringHelper
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <Kaleidoscope-Ranges.h> // for CYCLE
#include <stdint.h> // for uint8_t
#include "kaleidoscope/KeyAddr.h" // for KeyAddr, MatrixAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key, Key_Backspace
#include "kaleidoscope/keyswitch_state.h" // for INJECTED, IS_PRESSED
namespace kaleidoscope {
namespace plugin {

@ -17,8 +17,15 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-Ranges.h>
#include <Kaleidoscope-Ranges.h> // for CYCLE
#include <stdint.h> // for uint8_t
#include "Arduino.h" // for PROGMEM
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key
#include "kaleidoscope/plugin.h" // for Plugin
constexpr Key Key_Cycle = Key(kaleidoscope::ranges::CYCLE);

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/CycleTimeReport.h>
#include "kaleidoscope/plugin/CycleTimeReport.h" // IWYU pragma: export

@ -15,8 +15,14 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Kaleidoscope-CycleTimeReport.h>
#include <Kaleidoscope-FocusSerial.h>
#include "kaleidoscope/plugin/CycleTimeReport.h"
#include <Arduino.h> // for micros, F, __FlashStr...
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <stdint.h> // for uint16_t, uint32_t
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
namespace kaleidoscope {
namespace plugin {

@ -17,7 +17,10 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include <stdint.h> // for uint32_t, uint16_t
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

@ -17,7 +17,8 @@
#pragma once
#include <Arduino.h>
#include <Arduino.h> // for PROGMEM, F
#include <stddef.h> // for size_t
#ifndef ARDUINOTRACE_ENABLE
#define ARDUINOTRACE_ENABLE 1
@ -191,4 +192,4 @@ struct Printer {
#define TRACE()
#define DUMP(variable)
#endif
#endif

@ -17,14 +17,13 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#ifndef ARDUINOTRACE_SERIAL
#ifdef KALEIDOSCOPE_VIRTUAL_BUILD
#define ARDUINOTRACE_SERIAL DebugStderr
#endif
#endif
#include "ArduinoTrace.h"
#include "ArduinoTrace.h" // for ARDUINOTRACE_INIT
#include <HardwareSerial.h> // for DebugStderrSerial, DebugStderr
ARDUINOTRACE_INIT(9600)

@ -16,5 +16,6 @@
#pragma once
#include "Kaleidoscope-Macros.h"
#include "kaleidoscope/plugin/DynamicMacros.h"
#include <Kaleidoscope-Macros.h> // IWYU pragma: keep
#include "kaleidoscope/plugin/DynamicMacros.h" // IWYU pragma: export

@ -14,9 +14,23 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "Kaleidoscope-DynamicMacros.h"
#include "Kaleidoscope-FocusSerial.h"
#include "kaleidoscope/keyswitch_state.h"
#include "kaleidoscope/plugin/DynamicMacros.h"
#include <Arduino.h> // for delay, PSTR, strc...
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <Kaleidoscope-Ranges.h> // for DYNAMIC_MACRO_FIRST
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for VirtualProps::Sto...
#include "kaleidoscope/keyswitch_state.h" // for INJECTED, IS_PRESSED
#include "kaleidoscope/plugin/EEPROM-Settings.h" // for EEPROMSettings
// This is a special exception to the rule of only including a plugin's
// top-level header file, because DynamicMacros doesn't depend on the Macros
// plugin itself; it's just using the same macro step definitions.
#include "kaleidoscope/plugin/Macros/MacroSteps.h" // for MACRO_ACTION_END
namespace kaleidoscope {
namespace plugin {

@ -16,11 +16,13 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-Ranges.h>
#include <Kaleidoscope-Ranges.h> // for DYNAMIC_MACRO_FIRST
#include <stdint.h> // for uint16_t, uint8_t
#include "kaleidoscope/plugin/Macros/MacroSteps.h"
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key
#include "kaleidoscope/plugin.h" // for Plugin
#define DM(n) ::kaleidoscope::plugin::DynamicMacrosKey(n)

@ -17,5 +17,4 @@
#pragma once
#include "Kaleidoscope-TapDance.h"
#include "kaleidoscope/plugin/DynamicTapDance.h"
#include "kaleidoscope/plugin/DynamicTapDance.h" // IWYU pragma: export

@ -15,12 +15,21 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "Kaleidoscope-DynamicTapDance.h"
#include <Kaleidoscope-EEPROM-Settings.h>
#include "Kaleidoscope-FocusSerial.h"
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/KeyEvent.h"
#include "kaleidoscope/plugin/DynamicTapDance.h"
#include <Arduino.h> // for PSTR, F, __FlashStrin...
#include <Kaleidoscope-EEPROM-Settings.h> // for EEPROMSettings
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <stdint.h> // for uint16_t, uint8_t
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for VirtualProps::Storage
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key, Key_NoKey
#include "kaleidoscope/keyswitch_state.h" // for IS_PRESSED, WAS_PRESSED
#include "kaleidoscope/plugin/TapDance.h" // for TapDance, TapDance::A...
namespace kaleidoscope {
namespace plugin {

@ -17,8 +17,13 @@
#pragma once
#include <Kaleidoscope.h>
#include <Kaleidoscope-TapDance.h>
#include <Kaleidoscope-Ranges.h> // for TD_FIRST, TD_LAST
#include <Kaleidoscope-TapDance.h> // for TapDance, TapDance::A...
#include <stdint.h> // for uint8_t, uint16_t
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/EEPROM-Keymap-Programmer.h>
#include "kaleidoscope/plugin/EEPROM-Keymap-Programmer.h" // IWYU pragma: export

@ -15,10 +15,21 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Kaleidoscope-EEPROM-Keymap-Programmer.h>
#include <Kaleidoscope-FocusSerial.h>
#include "kaleidoscope/keyswitch_state.h"
#include "kaleidoscope/layers.h"
#include "kaleidoscope/plugin/EEPROM-Keymap-Programmer.h"
#include <Arduino.h> // for PSTR, strcmp_P
#include <Kaleidoscope-EEPROM-Keymap.h> // for EEPROMKeymap
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <stdint.h> // for uint16_t, uint8_t
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for Device, Base<>::Storage
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key, Key_0, Key_1
#include "kaleidoscope/keyswitch_state.h" // for keyToggledOn, keyTogg...
#include "kaleidoscope/layers.h" // for Layer, Layer_
namespace kaleidoscope {
namespace plugin {

@ -17,8 +17,12 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-EEPROM-Keymap.h>
#include <stdint.h> // for uint16_t
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/EEPROM-Keymap.h>
#include "kaleidoscope/plugin/EEPROM-Keymap.h" // IWYU pragma: export

@ -15,10 +15,19 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-EEPROM-Keymap.h>
#include <Kaleidoscope-FocusSerial.h>
#include "kaleidoscope/layers.h"
#include "kaleidoscope/plugin/EEPROM-Keymap.h"
#include <Arduino.h> // for PSTR, strcmp_P, F
#include <Kaleidoscope-EEPROM-Settings.h> // for EEPROMSettings
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <stdint.h> // for uint8_t, uint16_t
#include "kaleidoscope/KeyAddr.h" // for KeyAddr, MatrixAddr
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for VirtualProps::Storage
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key, Key_NoKey
#include "kaleidoscope/layers.h" // for Layer_, Layer, layer_...
namespace kaleidoscope {
namespace plugin {

@ -17,8 +17,12 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-EEPROM-Settings.h>
#include <stdint.h> // for uint8_t, uint16_t
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/EEPROM-Settings.h>
#include "kaleidoscope/plugin/EEPROM-Settings.h" // IWYU pragma: export

@ -15,10 +15,17 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-FocusSerial.h>
#include "kaleidoscope/plugin/EEPROM-Settings/crc.h"
#include "kaleidoscope/layers.h"
#include "kaleidoscope/plugin/EEPROM-Settings.h"
#include <Arduino.h> // for PSTR, strcmp_P, F
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <stdint.h> // for uint16_t, uint8_t
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for VirtualProps::S...
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/layers.h" // for Layer, Layer_
#include "kaleidoscope/plugin/EEPROM-Settings/crc.h" // for CRCCalculator
namespace kaleidoscope {
namespace plugin {

@ -17,7 +17,10 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include <stdint.h> // for uint8_t, uint16_t
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

@ -28,7 +28,7 @@
#pragma once
#include <Arduino.h>
#include <stdint.h> // for uint8_t, uint16_t
class CRC_ {
public:

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/Escape-OneShot.h>
#include "kaleidoscope/plugin/Escape-OneShot.h" // IWYU pragma: export

@ -15,12 +15,17 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kaleidoscope/plugin/Escape-OneShot.h"
#include "kaleidoscope/plugin/Escape-OneShot.h" // IWYU pragma: associated
#include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-FocusSerial.h>
#include <Arduino.h> // for PSTR, F, __FlashStrin...
#include <Kaleidoscope-EEPROM-Settings.h> // for EEPROMSettings
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <stdint.h> // for uint16_t
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for VirtualProps::Storage
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key
namespace kaleidoscope {
namespace plugin {

@ -15,11 +15,14 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-OneShot.h>
#include <Kaleidoscope-Escape-OneShot.h>
#include "kaleidoscope/keyswitch_state.h"
#include "kaleidoscope/layers.h"
#include "kaleidoscope/plugin/Escape-OneShot.h"
#include <Kaleidoscope-OneShot.h> // for OneShot
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key, Key_Escape, Key_...
#include "kaleidoscope/keyswitch_state.h" // for keyIsInjected, keyTog...
namespace kaleidoscope {
namespace plugin {

@ -17,8 +17,13 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-Ranges.h>
#include <Kaleidoscope-Ranges.h> // for OS_CANCEL
#include <stdint.h> // for uint16_t
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key
#include "kaleidoscope/plugin.h" // for Plugin
// DEPRECATED: `OneShotCancelKey` doesn't match our normal naming, and should
// eventually be removed.

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/FingerPainter.h>
#include "kaleidoscope/plugin/FingerPainter.h" // IWYU pragma: export

@ -15,13 +15,20 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Kaleidoscope-FingerPainter.h>
#include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-FocusSerial.h>
#include <Kaleidoscope-LEDControl.h>
#include <Kaleidoscope-LED-Palette-Theme.h>
#include "kaleidoscope/keyswitch_state.h"
#include "kaleidoscope/plugin/FingerPainter.h"
#include <Arduino.h> // for PSTR, strcmp_P, F
#include <Kaleidoscope-FocusSerial.h> // for Focus, FocusSerial
#include <Kaleidoscope-LED-Palette-Theme.h> // for LEDPaletteTheme
#include <stdint.h> // for uint16_t, uint8_t
#include <string.h> // for memcmp
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for Device, cRGB, Virtual...
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/keyswitch_state.h" // for keyToggledOff
namespace kaleidoscope {
namespace plugin {

@ -17,7 +17,12 @@
#pragma once
#include <Kaleidoscope-LEDControl.h>
#include <stdint.h> // for uint16_t
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/plugin/LEDMode.h" // for LEDMode
namespace kaleidoscope {
namespace plugin {

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/FirmwareDump.h>
#include "kaleidoscope/plugin/FirmwareDump.h" // IWYU pragma: export

@ -18,7 +18,9 @@
#ifdef __AVR__
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#include <Kaleidoscope-FirmwareDump.h>
#include "kaleidoscope/plugin/FirmwareDump.h"
#include <Arduino.h>
#include <Kaleidoscope-FocusSerial.h>
#include <avr/boot.h>

@ -23,7 +23,10 @@
#ifdef __AVR__
#include "kaleidoscope/Runtime.h"
#include <stdint.h> // for uint16_t
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/FocusSerial.h>
#include "kaleidoscope/plugin/FocusSerial.h" // IWYU pragma: export

@ -15,7 +15,16 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Kaleidoscope-FocusSerial.h>
#include "kaleidoscope/plugin/FocusSerial.h"
#include <Arduino.h> // for __FlashStringHelper, F
#include <HardwareSerial.h> // for HardwareSerial
#include <stdint.h> // for uint8_t
#include <string.h> // for memset
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/hooks.h" // for Hooks
#ifdef __AVR__
#include <avr/pgmspace.h>

@ -17,7 +17,15 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include <Arduino.h> // for __FlashStringHelper
#include <HardwareSerial.h> // for HardwareSerial
#include <stdint.h> // for uint8_t, uint16_t
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/device/device.h" // for cRGB
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/key_defs.h" // for Key
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

@ -17,4 +17,4 @@
#pragma once
#include <kaleidoscope/plugin/GhostInTheFirmware.h>
#include "kaleidoscope/plugin/GhostInTheFirmware.h" // IWYU pragma: export

@ -15,10 +15,16 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-GhostInTheFirmware.h>
#include "kaleidoscope/keyswitch_state.h"
#include "kaleidoscope/progmem_helpers.h"
#include "kaleidoscope/plugin/GhostInTheFirmware.h"
#include <stdint.h> // for uint16_t
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/KeyEvent.h" // for KeyEvent
#include "kaleidoscope/Runtime.h" // for Runtime, Runtime_
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/keyswitch_state.h" // for IS_PRESSED, WAS_PRESSED
#include "kaleidoscope/progmem_helpers.h" // for loadFromProgmem
namespace kaleidoscope {
namespace plugin {

@ -17,7 +17,11 @@
#pragma once
#include "kaleidoscope/Runtime.h"
#include <stdint.h> // for uint16_t
#include "kaleidoscope/KeyAddr.h" // for KeyAddr
#include "kaleidoscope/event_handler_result.h" // for EventHandlerResult
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

@ -18,4 +18,4 @@
#pragma once
#include "kaleidoscope/device/dygma/Raise.h"
#include "kaleidoscope/device/dygma/Raise.h" // IWYU pragma: export

@ -18,15 +18,15 @@
#ifdef ARDUINO_SAMD_RAISE
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-EEPROM-Settings.h>
#include <Kaleidoscope-LEDControl.h>
#include <KeyboardioHID.h>
#include <Wire.h>
#include "kaleidoscope/util/crc16.h"
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/driver/color/GammaCorrection.h"
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"
#include "kaleidoscope/util/crc16.h"
#define I2C_CLOCK_KHZ 100
#define I2C_FLASH_CLOCK_KHZ 100 // flashing doesn't work reliably at higher clock speeds

@ -25,12 +25,12 @@
#define CRGB(r,g,b) (cRGB){b, g, r}
#include "kaleidoscope/driver/keyscanner/Base.h"
#include "kaleidoscope/device/Base.h"
#include "kaleidoscope/driver/bootloader/samd/Bossac.h"
#include "kaleidoscope/driver/hid/Keyboardio.h"
#include "kaleidoscope/driver/keyscanner/Base.h"
#include "kaleidoscope/driver/led/Base.h"
#include "kaleidoscope/driver/bootloader/samd/Bossac.h"
#include "kaleidoscope/driver/storage/Flash.h"
#include "kaleidoscope/device/Base.h"
#include "kaleidoscope/util/flasher/KeyboardioI2CBootloader.h"
namespace kaleidoscope {

@ -18,10 +18,12 @@
#ifdef ARDUINO_SAMD_RAISE
#include "kaleidoscope/Runtime.h"
#include <Kaleidoscope-FocusSerial.h>
#include "kaleidoscope/device/dygma/raise/Focus.h"
#include <Kaleidoscope-FocusSerial.h>
#include "kaleidoscope/Runtime.h"
namespace kaleidoscope {
namespace device {
namespace dygma {

@ -18,8 +18,9 @@
#ifdef ARDUINO_SAMD_RAISE
#include "kaleidoscope/device/dygma/raise/RaiseSide.h"
#include <Arduino.h>
#include "RaiseSide.h"
#include "kaleidoscope/driver/color/GammaCorrection.h"

@ -21,6 +21,7 @@
#ifdef ARDUINO_SAMD_RAISE
#include <Arduino.h>
#include "TWI.h"
struct cRGB {

@ -17,4 +17,4 @@
*/
#pragma once
#include "kaleidoscope/device/ez/ErgoDox.h"
#include "kaleidoscope/device/ez/ErgoDox.h" // IWYU pragma: export

@ -29,10 +29,10 @@
#include <avr/wdt.h>
#include "kaleidoscope/device/ez/ErgoDox/ErgoDoxScanner.h"
#include "kaleidoscope/keyswitch_state.h"
#include "kaleidoscope/KeyEvent.h"
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/device/ez/ErgoDox/ErgoDoxScanner.h"
#include "kaleidoscope/keyswitch_state.h"
namespace kaleidoscope {
namespace device {

@ -35,9 +35,9 @@ struct cRGB {
#define CRGB(r,g,b) (cRGB){b, g, r}
#include "kaleidoscope/driver/keyscanner/Base.h"
#include "kaleidoscope/driver/bootloader/avr/HalfKay.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/HalfKay.h"
#include "kaleidoscope/driver/keyscanner/Base.h"
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#include "kaleidoscope/device/ez/ErgoDox/ErgoDoxScanner.h"
#endif // ifndef KALEIDOSCOPE_VIRTUAL_BUILD

@ -27,7 +27,10 @@
#ifdef ARDUINO_AVR_ERGODOX
#include "kaleidoscope/device/ez/ErgoDox/ErgoDoxScanner.h"
#include <Arduino.h>
#include <avr/wdt.h>
#include "kaleidoscope/device/avr/pins_and_ports.h"
#include "kaleidoscope/device/ez/ErgoDox/i2cmaster.h"

@ -27,7 +27,7 @@
#ifdef ARDUINO_AVR_ERGODOX
#include <Arduino.h>
#include <stdint.h>
namespace kaleidoscope {
namespace device {

@ -10,11 +10,10 @@
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#ifdef ARDUINO_AVR_ERGODOX
#include <inttypes.h>
#include <compat/twi.h>
#include "kaleidoscope/device/ez/ErgoDox/i2cmaster.h"
#include <compat/twi.h>
#include <inttypes.h>
/* define CPU frequency in Mhz here if not defined in Makefile */
#ifndef F_CPU

@ -17,4 +17,4 @@
#pragma once
#include "kaleidoscope/device/gd32/Eval.h"
#include "kaleidoscope/device/gd32/Eval.h" // IWYU pragma: export

@ -22,10 +22,9 @@
#include <Arduino.h>
#include "kaleidoscope/device/Base.h"
#include "kaleidoscope/driver/storage/GD32Flash.h"
#include "kaleidoscope/driver/bootloader/gd32/Base.h"
#include "kaleidoscope/device/gd32/eval/KeyScanner.h"
#include "kaleidoscope/driver/bootloader/gd32/Base.h"
#include "kaleidoscope/driver/storage/GD32Flash.h"
namespace kaleidoscope {
namespace device {

@ -17,8 +17,9 @@
#ifdef ARDUINO_GD32F303ZE_EVAL
#include "Arduino.h"
#include "HardwareTimer.h"
#include <Arduino.h>
#include <HardwareTimer.h>
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/device/gd32/eval/KeyScanner.h"

@ -19,10 +19,10 @@
#ifdef ARDUINO_GD32F303ZE_EVAL
#include <Arduino.h>
#include "kaleidoscope/device/gd32/eval/KeyScanner.h"
#include <Arduino.h>
namespace kaleidoscope {
namespace device {
namespace gd32 {

@ -18,4 +18,4 @@
#pragma once
#include "kaleidoscope/device/kbdfans/KBD4x.h"
#include "kaleidoscope/device/kbdfans/KBD4x.h" // IWYU pragma: export

@ -23,9 +23,9 @@
#include <Arduino.h>
#include "kaleidoscope/driver/keyscanner/ATmega.h"
#include "kaleidoscope/driver/bootloader/avr/FLIP.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/FLIP.h"
#include "kaleidoscope/driver/keyscanner/ATmega.h"
namespace kaleidoscope {
namespace device {

@ -18,4 +18,4 @@
#pragma once
#include "kaleidoscope/device/keyboardio/Atreus2.h"
#include "kaleidoscope/device/keyboardio/Atreus2.h" // IWYU pragma: export

@ -22,8 +22,9 @@
#include <Arduino.h>
#include "kaleidoscope/driver/bootloader/avr/Caterina.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/Caterina.h"
#include "kaleidoscope/driver/keyscanner/ATmega.h"
namespace kaleidoscope {
namespace device {

@ -18,4 +18,4 @@
#pragma once
#include "kaleidoscope/device/keyboardio/Imago.h"
#include "kaleidoscope/device/keyboardio/Imago.h" // IWYU pragma: export

@ -29,10 +29,10 @@ struct cRGB {
#define CRGB(r,g,b) (cRGB){b, g, r}
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/Caterina.h"
#include "kaleidoscope/driver/keyscanner/ATmega.h"
#include "kaleidoscope/driver/led/Base.h"
#include "kaleidoscope/driver/bootloader/avr/Caterina.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
namespace kaleidoscope {
namespace device {

@ -15,6 +15,8 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
// IWYU pragma: private, include "kaleidoscope/device/device.h"
#pragma once
#include "kaleidoscope/device/keyboardio/Model01.h"
#include "kaleidoscope/device/keyboardio/Model01.h" // IWYU pragma: export

@ -17,15 +17,25 @@
#ifdef ARDUINO_AVR_MODEL01
#include "Arduino.h" // for PROGMEM
#include "kaleidoscope/device/keyboardio/Model01.h" // for Model01LEDDriver...
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"
#include "kaleidoscope/device/keyboardio/Model01.h"
// System headers
#include <stdint.h> // for uint8_t
// Arduino headers
#include <Arduino.h> // for PROGMEM
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#include <KeyboardioHID.h>
#include <avr/wdt.h>
#endif // ifndef KALEIDOSCOPE_VIRTUAL_BUILD
// Kaleidoscope headers
#include "kaleidoscope/driver/keyscanner/Base_Impl.h" // IWYU pragma: keep
// Kaleidoscope-Hardware-Keyboardio-Model01 headers
#include "kaleidoscope/driver/keyboardio/Model01Side.h"
namespace kaleidoscope {
namespace device {
namespace keyboardio {

@ -15,11 +15,20 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
// IWYU pragma: private, include "kaleidoscope/device/device.h"
#pragma once
#ifdef ARDUINO_AVR_MODEL01
#include <Arduino.h>
// System headers
#include <stdint.h> // for uint8_t
// Arduino headers
#include <Arduino.h> // for PROGMEM
// Kaleidoscope headers
#include "kaleidoscope/MatrixAddr.h" // for MatrixAddr
#include "kaleidoscope/macro_helpers.h" // for RESTRICT_AR...
#define CRGB(r,g,b) (cRGB){b, g, r}
@ -29,12 +38,13 @@ struct cRGB {
uint8_t r;
};
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h" // for ATmega32U4K...
#include "kaleidoscope/driver/bootloader/avr/Caterina.h" // for Caterina
#include "kaleidoscope/driver/keyscanner/Base.h" // for BaseProps
#include "kaleidoscope/driver/led/Base.h" // for BaseProps
#include "kaleidoscope/driver/keyscanner/Base.h"
#include "kaleidoscope/driver/keyboardio/Model01Side.h"
#include "kaleidoscope/driver/led/Base.h"
#include "kaleidoscope/driver/bootloader/avr/Caterina.h"
// Kaleidoscope-Hardware-Keyboardio-Model01 headers
#include "kaleidoscope/driver/keyboardio/Model01Side.h" // for keydata_t
namespace kaleidoscope {
namespace device {

@ -22,14 +22,18 @@
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#include "kaleidoscope/driver/keyboardio/Model01Side.h"
#include <Arduino.h>
#include "Model01Side.h"
extern "C" {
#include "kaleidoscope/device/keyboardio/twi.h"
}
// Kaleidoscope headers
#include "kaleidoscope/driver/color/GammaCorrection.h"
// Kaleidoscope-Hardware-Keyboardio-Model01 headers
#include "kaleidoscope/driver/keyboardio/wire-protocol-constants.h"
namespace kaleidoscope {
namespace driver {

@ -23,8 +23,8 @@
#pragma once
#include <Arduino.h>
#include "wire-protocol-constants.h"
// System headers
#include <stdint.h> // for uint8_t, uint32_t
// We allow cRGB/CRGB to be defined already when this is included.
//
@ -97,8 +97,6 @@ class Model01Side {
void sendLEDBank(uint8_t bank);
int readRegister(uint8_t cmd);
};
#else // ifndef KALEIDOSCOPE_VIRTUAL_BUILD
class Model01Side;
#endif // ifndef KALEIDOSCOPE_VIRTUAL_BUILD
} // namespace keyboardio

@ -17,4 +17,4 @@
#pragma once
#include "kaleidoscope/device/keyboardio/Model100.h"
#include "kaleidoscope/device/keyboardio/Model100.h" // IWYU pragma: export

@ -17,14 +17,12 @@
#ifdef ARDUINO_keyboardio_model_100
#include "Arduino.h" // for PROGMEM
#include "kaleidoscope/device/keyboardio/Model100.h" // for Model100LEDDriver...
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"
#include "kaleidoscope/device/keyboardio/Model100.h"
#include "Wire.h"
#include <Arduino.h> // for PROGMEM
#include <Wire.h> // for Wire
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#endif // ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#include "kaleidoscope/driver/keyscanner/Base_Impl.h" // For Base<>
namespace kaleidoscope {
namespace device {

@ -34,14 +34,14 @@ struct cRGB {
};
#include "kaleidoscope/driver/keyscanner/Base.h"
#include "kaleidoscope/driver/storage/GD32Flash.h"
#include "kaleidoscope/driver/keyboardio/Model100Side.h"
#include "kaleidoscope/driver/led/Base.h"
#include "kaleidoscope/device/Base.h"
#include "kaleidoscope/driver/hid/Keyboardio.h"
#include "kaleidoscope/driver/hid/Base.h"
#include "kaleidoscope/driver/bootloader/gd32/Base.h"
#include "kaleidoscope/driver/hid/Base.h"
#include "kaleidoscope/driver/hid/Keyboardio.h"
#include "kaleidoscope/driver/keyboardio/Model100Side.h"
#include "kaleidoscope/driver/keyscanner/Base.h"
#include "kaleidoscope/driver/led/Base.h"
#include "kaleidoscope/driver/storage/GD32Flash.h"
namespace kaleidoscope {
namespace device {

@ -22,12 +22,14 @@
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#include "kaleidoscope/driver/keyboardio/Model100Side.h"
#include <Arduino.h>
#include "Model100Side.h"
#include <Wire.h>
#include <utility/twi.h>
#include "kaleidoscope/driver/color/GammaCorrection.h"
#include "kaleidoscope/driver/keyboardio/wire-protocol-constants.h"
namespace kaleidoscope {
namespace driver {

@ -23,8 +23,8 @@
#pragma once
#include <Arduino.h>
#include "wire-protocol-constants.h"
#include <Arduino.h> // for byte
#include <stdint.h> // for uint8_t, uint32_t
// We allow cRGB/CRGB to be defined already when this is included.
//
@ -105,8 +105,6 @@ class Model100Side {
int readRegister(uint8_t cmd);
uint8_t writeData(uint8_t* data, uint8_t length);
};
#else // ifndef KALEIDOSCOPE_VIRTUAL_BUILD
class Model100Side;
#endif // ifndef KALEIDOSCOPE_VIRTUAL_BUILD
} // namespace keyboardio

@ -18,4 +18,4 @@
#pragma once
#include "kaleidoscope/device/olkb/Planck.h"
#include "kaleidoscope/device/olkb/Planck.h" // IWYU pragma: export

@ -18,6 +18,8 @@
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#ifdef ARDUINO_AVR_PLANCK
#include "kaleidoscope/device/olkb/Planck.h"
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"

@ -21,8 +21,9 @@
#include <Arduino.h>
#include "kaleidoscope/driver/bootloader/avr/HalfKay.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/HalfKay.h"
#include "kaleidoscope/driver/keyscanner/ATmega.h"
namespace kaleidoscope {
namespace device {

@ -18,4 +18,4 @@
#pragma once
#include "kaleidoscope/device/softhruf/Splitography.h"
#include "kaleidoscope/device/softhruf/Splitography.h" // IWYU pragma: export

@ -25,6 +25,8 @@
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#ifdef ARDUINO_AVR_SPLITOGRAPHY
#include "kaleidoscope/device/softhruf/Splitography.h"
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"

@ -30,9 +30,9 @@
#include <Arduino.h>
#include "kaleidoscope/driver/keyscanner/ATmega.h"
#include "kaleidoscope/driver/bootloader/avr/FLIP.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/FLIP.h"
#include "kaleidoscope/driver/keyscanner/ATmega.h"
namespace kaleidoscope {
namespace device {

@ -24,4 +24,4 @@
#define KALEIDOSCOPE_HARDWARE_ATREUS_PINOUT_ASTAR 1
#endif
#include "kaleidoscope/device/technomancy/Atreus.h"
#include "kaleidoscope/device/technomancy/Atreus.h" // IWYU pragma: export

@ -27,6 +27,8 @@
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#ifdef ARDUINO_AVR_ATREUS
#include "kaleidoscope/device/technomancy/Atreus.h"
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"

@ -28,9 +28,10 @@
#include <Arduino.h>
#include "kaleidoscope/driver/bootloader/avr/HalfKay.h"
#include "kaleidoscope/driver/bootloader/avr/Caterina.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/Caterina.h"
#include "kaleidoscope/driver/bootloader/avr/HalfKay.h"
#include "kaleidoscope/driver/keyscanner/ATmega.h"
namespace kaleidoscope {
namespace device {

@ -18,4 +18,4 @@
#pragma once
#include "kaleidoscope/device/gheavy/ButterStick.h"
#include "kaleidoscope/device/gheavy/ButterStick.h" // IWYU pragma: export

@ -18,6 +18,8 @@
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#ifdef ARDUINO_AVR_GHEAVY_BUTTERSTICK
#include "kaleidoscope/device/gheavy/ButterStick.h"
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"

@ -23,9 +23,9 @@
#include <Arduino.h>
#include "kaleidoscope/driver/keyscanner/ATmega.h"
#include "kaleidoscope/driver/bootloader/avr/FLIP.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/FLIP.h"
#include "kaleidoscope/driver/keyscanner/ATmega.h"
namespace kaleidoscope {
namespace device {

@ -18,4 +18,4 @@
#pragma once
#include "kaleidoscope/device/gheavy/FaunchPad.h"
#include "kaleidoscope/device/gheavy/FaunchPad.h" // IWYU pragma: export

@ -18,6 +18,8 @@
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#ifdef ARDUINO_AVR_GHEAVY_FAUNCHPAD
#include "kaleidoscope/device/gheavy/FaunchPad.h"
#include "kaleidoscope/Runtime.h"
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"

@ -23,9 +23,9 @@
#include <Arduino.h>
#include "kaleidoscope/driver/keyscanner/ATmega.h"
#include "kaleidoscope/driver/bootloader/avr/FLIP.h"
#include "kaleidoscope/device/ATmega32U4Keyboard.h"
#include "kaleidoscope/driver/bootloader/avr/FLIP.h"
#include "kaleidoscope/driver/keyscanner/ATmega.h"
namespace kaleidoscope {
namespace device {

@ -16,4 +16,4 @@
#pragma once
#include "kaleidoscope/plugin/HardwareTestMode.h"
#include "kaleidoscope/plugin/HardwareTestMode.h" // IWYU pragma: export

@ -14,9 +14,16 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kaleidoscope/Runtime.h"
#include "Kaleidoscope-HardwareTestMode.h"
#include "Kaleidoscope-LEDEffect-Rainbow.h"
#include "kaleidoscope/plugin/HardwareTestMode.h"
#include <stdint.h> // for uint8_t
#include "kaleidoscope/KeyAddr.h" // for MatrixAddr
#include "kaleidoscope/Runtime.h" // for Runtime
#include "kaleidoscope/device/device.h" // for Device, cRGB
#include "kaleidoscope/driver/hid/keyboardio/Keyboard.h" // for Keyboard
#include "kaleidoscope/plugin/LEDControl.h" // for LEDControl
#include "kaleidoscope/plugin/LEDControl/LEDUtils.h" // for hsvToRgb
namespace kaleidoscope {
namespace plugin {

@ -16,8 +16,10 @@
#pragma once
#include <Arduino.h>
#include "kaleidoscope/Runtime.h"
#include <stdint.h> // for uint8_t
#include "kaleidoscope/device/device.h" // for cRGB
#include "kaleidoscope/plugin.h" // for Plugin
namespace kaleidoscope {
namespace plugin {

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save