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

Remove SERIAL_MOUSE #14969

Merged
merged 2 commits into from
Oct 28, 2021
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
10 changes: 0 additions & 10 deletions quantum/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef PS2_MOUSE_ENABLE
# include "ps2_mouse.h"
#endif
#ifdef SERIAL_MOUSE_ENABLE
# include "serial_mouse.h"
#endif
#ifdef RGBLIGHT_ENABLE
# include "rgblight.h"
#endif
Expand Down Expand Up @@ -310,9 +307,6 @@ void keyboard_init(void) {
#ifdef PS2_MOUSE_ENABLE
ps2_mouse_init();
#endif
#ifdef SERIAL_MOUSE_ENABLE
serial_mouse_init();
#endif
#ifdef BACKLIGHT_ENABLE
backlight_init();
#endif
Expand Down Expand Up @@ -490,10 +484,6 @@ void keyboard_task(void) {
ps2_mouse_task();
#endif

#ifdef SERIAL_MOUSE_ENABLE
serial_mouse_task();
#endif

#ifdef POINTING_DEVICE_ENABLE
pointing_device_task();
#endif
Expand Down
20 changes: 0 additions & 20 deletions tmk_core/protocol.mk
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
PROTOCOL_DIR = protocol

ifeq ($(strip $(SERIAL_MOUSE_MICROSOFT_ENABLE)), yes)
SRC += $(PROTOCOL_DIR)/serial_mouse_microsoft.c
OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MICROSOFT \
-DMOUSE_ENABLE
endif

ifeq ($(strip $(SERIAL_MOUSE_MOUSESYSTEMS_ENABLE)), yes)
SRC += $(PROTOCOL_DIR)/serial_mouse_mousesystems.c
OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MOUSESYSTEMS \
-DMOUSE_ENABLE
endif

ifeq ($(strip $(SERIAL_MOUSE_USE_SOFT)), yes)
SRC += $(PROTOCOL_DIR)/serial_soft.c
endif

ifeq ($(strip $(SERIAL_MOUSE_USE_UART)), yes)
SRC += $(PROTOCOL_DIR)/serial_uart.c
endif

ifeq ($(strip $(USB_HID_ENABLE)), yes)
include $(TMK_DIR)/protocol/usb_hid.mk
endif
Expand Down
29 changes: 0 additions & 29 deletions tmk_core/protocol/serial_mouse.h

This file was deleted.

113 changes: 0 additions & 113 deletions tmk_core/protocol/serial_mouse_microsoft.c

This file was deleted.

119 changes: 0 additions & 119 deletions tmk_core/protocol/serial_mouse_mousesystems.c

This file was deleted.