qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit aec7f29df797637476390ec2b374661b61966b2a
parent a40cccced29990eef5dac798d522c87807aa5e3a
Author: Ryan <fauxpark@gmail.com>
Date:   Mon,  4 Sep 2023 12:14:14 +1000

Add `mousekey.h` include to `quantum.h` (#21897)


Diffstat:
Mkeyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c | 1-
Mkeyboards/crkbd/keymaps/vlukash_trackpad_right/keymap.c | 9---------
Mkeyboards/dm9records/plaid/keymaps/gipsy-king/keymap.c | 2--
Mkeyboards/ergodox_ez/keymaps/pvinis/keymap.c | 1-
Mkeyboards/gboards/butterstick/sten.h | 2--
Mkeyboards/gboards/georgi/sten.h | 2--
Mkeyboards/handwired/traveller/keymaps/default/keymap.c | 1-
Mquantum/quantum.h | 4++++
Musers/romus/romus.c | 20--------------------
9 files changed, 4 insertions(+), 38 deletions(-)

diff --git a/keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c b/keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c @@ -1,5 +1,4 @@ #include QMK_KEYBOARD_H -#include "mousekey.h" #define MEDAPP LT(MEDIA, KC_APP) diff --git a/keyboards/crkbd/keymaps/vlukash_trackpad_right/keymap.c b/keyboards/crkbd/keymaps/vlukash_trackpad_right/keymap.c @@ -1,13 +1,4 @@ #include QMK_KEYBOARD_H -#include "bootloader.h" -#include "mousekey.h" -#include "pointing_device.h" -#include "report.h" - -#ifdef PROTOCOL_LUFA - #include "lufa.h" - #include "split_util.h" -#endif extern bool isScrollMode; diff --git a/keyboards/dm9records/plaid/keymaps/gipsy-king/keymap.c b/keyboards/dm9records/plaid/keymaps/gipsy-king/keymap.c @@ -15,8 +15,6 @@ */ #include QMK_KEYBOARD_H -#include "mousekey.h" - enum plaid_layers { _QWERTY, diff --git a/keyboards/ergodox_ez/keymaps/pvinis/keymap.c b/keyboards/ergodox_ez/keymaps/pvinis/keymap.c @@ -20,7 +20,6 @@ #include QMK_KEYBOARD_H #include "pvinis.h" -#include "mousekey.h" // layers enum { diff --git a/keyboards/gboards/butterstick/sten.h b/keyboards/gboards/butterstick/sten.h @@ -8,9 +8,7 @@ #pragma once #include QMK_KEYBOARD_H -#include "mousekey.h" #include "keymap_steno.h" -#include "wait.h" extern size_t keymapsCount; // Total keymaps extern uint32_t cChord; // Current Chord diff --git a/keyboards/gboards/georgi/sten.h b/keyboards/gboards/georgi/sten.h @@ -7,9 +7,7 @@ #pragma once #include "georgi.h" -#include "mousekey.h" #include "keymap_steno.h" -#include "wait.h" extern size_t keymapsCount; // Total keymaps extern uint32_t cChord; // Current Chord diff --git a/keyboards/handwired/traveller/keymaps/default/keymap.c b/keyboards/handwired/traveller/keymaps/default/keymap.c @@ -1,5 +1,4 @@ #include QMK_KEYBOARD_H -#include "mousekey.h" enum layer_names { _QW, diff --git a/quantum/quantum.h b/quantum/quantum.h @@ -209,6 +209,10 @@ extern layer_state_t layer_state; # include "pointing_device.h" #endif +#ifdef MOUSEKEY_ENABLE +# include "mousekey.h" +#endif + #ifdef CAPS_WORD_ENABLE # include "caps_word.h" # include "process_caps_word.h" diff --git a/users/romus/romus.c b/users/romus/romus.c @@ -1,25 +1,5 @@ #include "romus.h" -/*---------------*\ -|*-----MOUSE-----*| -\*---------------*/ -#ifdef MOUSEKEY_ENABLE -#include "mousekey.h" -#endif - -/*-------------*\ -|*-----RGB-----*| -\*-------------*/ -#ifdef RGBLIGHT_ENABLE -#include "rgblight.h" -#endif - -/*-------------*\ -|*---UNICODE---*| -\*-------------*/ -#ifdef UNICODE_ENABLE -#endif - /*-----------------*\ |*-----SECRETS-----*| \*-----------------*/