summaryrefslogtreecommitdiffstats
path: root/protocol/pjrc.mk
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-11-02 03:10:49 +0900
committertmk <nobody@nowhere>2013-11-02 04:30:08 +0900
commit676d94d13791a99751cebf724fd5a56b150f344d (patch)
tree5e931d0fbbf3c51272ba80703cd6c58e76c95993 /protocol/pjrc.mk
parent1591764cfbc39e73c6f32e9b805d596379866ff0 (diff)
Fix PS/2 mouse support
Diffstat (limited to 'protocol/pjrc.mk')
-rw-r--r--protocol/pjrc.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocol/pjrc.mk b/protocol/pjrc.mk
index 27f908b1c2..5a44613820 100644
--- a/protocol/pjrc.mk
+++ b/protocol/pjrc.mk
@@ -7,7 +7,11 @@ SRC += $(PJRC_DIR)/main.c \
$(PJRC_DIR)/usb.c
# Option modules
-ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
+ifdef MOUSEKEY_ENABLE
+ SRC += $(PJRC_DIR)/usb_mouse.c
+endif
+
+ifdef PS2_MOUSE_ENABLE
SRC += $(PJRC_DIR)/usb_mouse.c
endif