diff options
Diffstat (limited to 'tmk_core/protocol.mk')
-rw-r--r-- | tmk_core/protocol.mk | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/tmk_core/protocol.mk b/tmk_core/protocol.mk index b61f2f546..8aa063c91 100644 --- a/tmk_core/protocol.mk +++ b/tmk_core/protocol.mk | |||
@@ -1,30 +1,5 @@ | |||
1 | PROTOCOL_DIR = protocol | 1 | PROTOCOL_DIR = protocol |
2 | 2 | ||
3 | ifeq ($(strip $(PS2_MOUSE_ENABLE)), yes) | ||
4 | SRC += $(PROTOCOL_DIR)/ps2_mouse.c | ||
5 | OPT_DEFS += -DPS2_MOUSE_ENABLE | ||
6 | OPT_DEFS += -DMOUSE_ENABLE | ||
7 | endif | ||
8 | |||
9 | ifeq ($(strip $(PS2_USE_BUSYWAIT)), yes) | ||
10 | SRC += protocol/ps2_busywait.c | ||
11 | SRC += protocol/ps2_io_avr.c | ||
12 | OPT_DEFS += -DPS2_USE_BUSYWAIT | ||
13 | endif | ||
14 | |||
15 | ifeq ($(strip $(PS2_USE_INT)), yes) | ||
16 | SRC += protocol/ps2_interrupt.c | ||
17 | SRC += protocol/ps2_io_$(PLATFORM_KEY).c | ||
18 | OPT_DEFS += -DPS2_USE_INT | ||
19 | endif | ||
20 | |||
21 | ifeq ($(strip $(PS2_USE_USART)), yes) | ||
22 | SRC += protocol/ps2_usart.c | ||
23 | SRC += protocol/ps2_io_$(PLATFORM_KEY).c | ||
24 | OPT_DEFS += -DPS2_USE_USART | ||
25 | endif | ||
26 | |||
27 | |||
28 | ifeq ($(strip $(SERIAL_MOUSE_MICROSOFT_ENABLE)), yes) | 3 | ifeq ($(strip $(SERIAL_MOUSE_MICROSOFT_ENABLE)), yes) |
29 | SRC += $(PROTOCOL_DIR)/serial_mouse_microsoft.c | 4 | SRC += $(PROTOCOL_DIR)/serial_mouse_microsoft.c |
30 | OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MICROSOFT \ | 5 | OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MICROSOFT \ |
@@ -45,15 +20,6 @@ ifeq ($(strip $(SERIAL_MOUSE_USE_UART)), yes) | |||
45 | SRC += $(PROTOCOL_DIR)/serial_uart.c | 20 | SRC += $(PROTOCOL_DIR)/serial_uart.c |
46 | endif | 21 | endif |
47 | 22 | ||
48 | ifeq ($(strip $(ADB_MOUSE_ENABLE)), yes) | ||
49 | OPT_DEFS += -DADB_MOUSE_ENABLE -DMOUSE_ENABLE | ||
50 | endif | ||
51 | |||
52 | ifeq ($(strip $(XT_ENABLE)), yes) | ||
53 | SRC += $(PROTOCOL_DIR)/xt_interrupt.c | ||
54 | OPT_DEFS += -DXT_ENABLE | ||
55 | endif | ||
56 | |||
57 | ifeq ($(strip $(USB_HID_ENABLE)), yes) | 23 | ifeq ($(strip $(USB_HID_ENABLE)), yes) |
58 | include $(TMK_DIR)/protocol/usb_hid.mk | 24 | include $(TMK_DIR)/protocol/usb_hid.mk |
59 | endif | 25 | endif |