diff options
author | markspanbroek <mark@spanbroek.net> | 2018-10-22 21:37:03 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-10-22 12:37:03 -0700 |
commit | 6d7745a110daad815fe5edbb35a2e33702f24aaa (patch) | |
tree | d18512753edbec9668e8b0b4cdf4f688e2a39971 /tmk_core/protocol.mk | |
parent | bf57587e6203e3bcabbc161c1d45b9a6cc7abfaa (diff) | |
download | qmk_firmware-6d7745a110daad815fe5edbb35a2e33702f24aaa.tar.gz |
Keyboard: Port of TMK XT USB Converter (#3619)
* Converter: add XT USB converter from TMK
* Converter: port TMK code for USB converter to QMK
* Apply requested changes after code review by @drashna
- use "pragma once" instead of include guards
- use LAYOUT instead of KEYMAP
- allow customisation with matrix_init_user() and matrix_scan_user()
- set BOOTLOADER instead of BOOTLOADER_SIZE
- Add XT_ENABLE to OPT_DEFS
* Remove unnecessary lines
Diffstat (limited to 'tmk_core/protocol.mk')
-rw-r--r-- | tmk_core/protocol.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/protocol.mk b/tmk_core/protocol.mk index 54913329e..78b9deb29 100644 --- a/tmk_core/protocol.mk +++ b/tmk_core/protocol.mk @@ -50,5 +50,10 @@ ifdef ADB_MOUSE_ENABLE OPT_DEFS += -DADB_MOUSE_ENABLE -DMOUSE_ENABLE endif +ifdef XT_ENABLE + SRC += $(PROTOCOL_DIR)/xt_interrupt.c + OPT_DEFS += -DXT_ENABLE +endif + # Search Path VPATH += $(TMK_DIR)/protocol |