Skip to content

Commit

Permalink
Move converter specific tmk_core protocols (qmk#14743)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Oct 7, 2021
1 parent 1ac5f67 commit e008c48
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 1,572 deletions.
10 changes: 0 additions & 10 deletions quantum/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef SERIAL_MOUSE_ENABLE
# include "serial_mouse.h"
#endif
#ifdef ADB_MOUSE_ENABLE
# include "adb.h"
#endif
#ifdef RGBLIGHT_ENABLE
# include "rgblight.h"
#endif
Expand Down Expand Up @@ -322,9 +319,6 @@ void keyboard_init(void) {
#ifdef SERIAL_MOUSE_ENABLE
serial_mouse_init();
#endif
#ifdef ADB_MOUSE_ENABLE
adb_mouse_init();
#endif
#ifdef BACKLIGHT_ENABLE
backlight_init();
#endif
Expand Down Expand Up @@ -504,10 +498,6 @@ void keyboard_task(void) {
serial_mouse_task();
#endif

#ifdef ADB_MOUSE_ENABLE
adb_mouse_task();
#endif

#ifdef POINTING_DEVICE_ENABLE
pointing_device_task();
#endif
Expand Down
1 change: 0 additions & 1 deletion show_options.mk
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ OTHER_OPTION_NAMES = \
SWAP_HANDS_ENABLE \
RING_BUFFERED_6KRO_REPORT_ENABLE \
WATCHDOG_ENABLE \
XT_ENABLE \
ERGOINU \
NO_USB_STARTUP_CHECK \
DISABLE_PROMICRO_LEDs \
Expand Down
9 changes: 0 additions & 9 deletions tmk_core/protocol.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@ ifeq ($(strip $(SERIAL_MOUSE_USE_UART)), yes)
SRC += $(PROTOCOL_DIR)/serial_uart.c
endif

ifeq ($(strip $(ADB_MOUSE_ENABLE)), yes)
OPT_DEFS += -DADB_MOUSE_ENABLE -DMOUSE_ENABLE
endif

ifeq ($(strip $(XT_ENABLE)), yes)
SRC += $(PROTOCOL_DIR)/xt_interrupt.c
OPT_DEFS += -DXT_ENABLE
endif

ifeq ($(strip $(USB_HID_ENABLE)), yes)
include $(TMK_DIR)/protocol/usb_hid.mk
endif
Expand Down
Loading

0 comments on commit e008c48

Please sign in to comment.