diff options
| author | Rob Rogers <r2d2rogers@gmail.com> | 2017-10-31 15:07:53 -0500 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-31 20:59:55 -0400 |
| commit | 2d77f9cbb9ea13b7f967917e8d0559856be36046 (patch) | |
| tree | cb602298471198831dd526021fa9ca796a6740f0 /tmk_core | |
| parent | c9a0436422a8884fd8b5bd706ffc70020c3437be (diff) | |
| download | qmk_firmware-2d77f9cbb9ea13b7f967917e8d0559856be36046.tar.gz qmk_firmware-2d77f9cbb9ea13b7f967917e8d0559856be36046.zip | |
Fix pointing device feature
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/protocol/iwrap/iwrap.c | 2 | ||||
| -rw-r--r-- | tmk_core/protocol/pjrc.mk | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tmk_core/protocol/iwrap/iwrap.c b/tmk_core/protocol/iwrap/iwrap.c index 6a404116a..71ccc493e 100644 --- a/tmk_core/protocol/iwrap/iwrap.c +++ b/tmk_core/protocol/iwrap/iwrap.c | |||
| @@ -349,7 +349,7 @@ static void send_keyboard(report_keyboard_t *report) | |||
| 349 | 349 | ||
| 350 | static void send_mouse(report_mouse_t *report) | 350 | static void send_mouse(report_mouse_t *report) |
| 351 | { | 351 | { |
| 352 | #if defined(MOUSEKEY_ENABLE) || defined(PS2_MOUSE_ENABLE) | 352 | #if defined(MOUSEKEY_ENABLE) || defined(PS2_MOUSE_ENABLE) || defined(POINTING_DEVICE_ENABLE) |
| 353 | if (!iwrap_connected() && !iwrap_check_connection()) return; | 353 | if (!iwrap_connected() && !iwrap_check_connection()) return; |
| 354 | MUX_HEADER(0x01, 0x09); | 354 | MUX_HEADER(0x01, 0x09); |
| 355 | // HID raw mode header | 355 | // HID raw mode header |
diff --git a/tmk_core/protocol/pjrc.mk b/tmk_core/protocol/pjrc.mk index 2b1ba2cbf..7c0c1fa85 100644 --- a/tmk_core/protocol/pjrc.mk +++ b/tmk_core/protocol/pjrc.mk | |||
| @@ -23,6 +23,11 @@ ifdef EXTRAKEY_ENABLE | |||
| 23 | SRC += $(PJRC_DIR)/usb_extra.c | 23 | SRC += $(PJRC_DIR)/usb_extra.c |
| 24 | endif | 24 | endif |
| 25 | 25 | ||
| 26 | |||
| 27 | ifdef POINTING_DEVICE_ENABLE | ||
| 28 | SRC += $(PJRC_DIR)/usb_mouse.c | ||
| 29 | endif | ||
| 30 | |||
| 26 | # Search Path | 31 | # Search Path |
| 27 | VPATH += $(TMK_DIR)/$(PJRC_DIR) | 32 | VPATH += $(TMK_DIR)/$(PJRC_DIR) |
| 28 | 33 | ||
