Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mousekey.h include to quantum.h #21897

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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