Skip to content

Commit

Permalink
Add mousekey.h include to quantum.h (#21897)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Sep 4, 2023
1 parent a40cccc commit aec7f29
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 38 deletions.
1 change: 0 additions & 1 deletion keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include QMK_KEYBOARD_H
#include "mousekey.h"

#define MEDAPP LT(MEDIA, KC_APP)

Expand Down
9 changes: 0 additions & 9 deletions keyboards/crkbd/keymaps/vlukash_trackpad_right/keymap.c
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 0 additions & 2 deletions keyboards/dm9records/plaid/keymaps/gipsy-king/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*/

#include QMK_KEYBOARD_H
#include "mousekey.h"


enum plaid_layers {
_QWERTY,
Expand Down
1 change: 0 additions & 1 deletion keyboards/ergodox_ez/keymaps/pvinis/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include QMK_KEYBOARD_H
#include "pvinis.h"
#include "mousekey.h"

// layers
enum {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/gboards/butterstick/sten.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/gboards/georgi/sten.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/traveller/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include QMK_KEYBOARD_H
#include "mousekey.h"

enum layer_names {
_QW,
Expand Down
4 changes: 4 additions & 0 deletions quantum/quantum.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
20 changes: 0 additions & 20 deletions users/romus/romus.c
Original file line number Diff line number Diff line change
@@ -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-----*|
\*-----------------*/
Expand Down

0 comments on commit aec7f29

Please sign in to comment.