Support for Lightpad keypad
[tmk_keyboard.git] / protocol.mk
CommitLineData
676d94d1 1PROTOCOL_DIR = protocol
2
3
4ifdef PS2_MOUSE_ENABLE
5 SRC += $(PROTOCOL_DIR)/ps2_mouse.c
6 OPT_DEFS += -DPS2_MOUSE_ENABLE
7 OPT_DEFS += -DMOUSE_ENABLE
8endif
9
10ifdef PS2_USE_BUSYWAIT
9ae9742a 11 SRC += protocol/ps2_busywait.c
676d94d1 12 OPT_DEFS += -DPS2_USE_BUSYWAIT
13endif
14
15ifdef PS2_USE_INT
4eb27ee8 16 SRC += protocol/ps2_interrupt.c
676d94d1 17 OPT_DEFS += -DPS2_USE_INT
18endif
19
20ifdef PS2_USE_USART
21 SRC += protocol/ps2_usart.c
22 OPT_DEFS += -DPS2_USE_USART
23endif
24
25
afb08462 26# Search Path
27VPATH += $(TOP_DIR)/protocol
Imprint / Impressum