diff options
Diffstat (limited to 'tmk_core/protocol.mk')
| -rw-r--r-- | tmk_core/protocol.mk | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tmk_core/protocol.mk b/tmk_core/protocol.mk index 30c87a0f1..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 \ |
