Skip to content

Commit

Permalink
Remove SERIAL_MOUSE (qmk#14969)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and ptrxyz committed Nov 6, 2021
1 parent 970eac6 commit 47be2e7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 291 deletions.
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.

0 comments on commit 47be2e7

Please sign in to comment.