summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/lufa/lufa.c
diff options
context:
space:
mode:
authorPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-05-29 13:17:21 +0200
committerPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-05-29 13:17:21 +0200
commitf0fc2db4e291dc7584c3cb81994ae14b9749fc62 (patch)
tree1fa611d4f5ab0a53b334924a3898f636bc7ceb54 /tmk_core/protocol/lufa/lufa.c
parent80707d529cefdf96b41a0c27d4ea0bc30fce503f (diff)
downloadqmk_firmware-f0fc2db4e291dc7584c3cb81994ae14b9749fc62.tar.gz
qmk_firmware-f0fc2db4e291dc7584c3cb81994ae14b9749fc62.tar.xz
Adafruit Feather BLE / BLE Friend mouse buttons support
Diffstat (limited to 'tmk_core/protocol/lufa/lufa.c')
-rw-r--r--tmk_core/protocol/lufa/lufa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index 3c4ad4b4d..e3f8724e8 100644
--- a/tmk_core/protocol/lufa/lufa.c
+++ b/tmk_core/protocol/lufa/lufa.c
@@ -669,7 +669,7 @@ static void send_mouse(report_mouse_t *report)
if (where == OUTPUT_BLUETOOTH || where == OUTPUT_USB_AND_BT) {
#ifdef MODULE_ADAFRUIT_BLE
// FIXME: mouse buttons
- adafruit_ble_send_mouse_move(report->x, report->y, report->v, report->h);
+ adafruit_ble_send_mouse_move(report->x, report->y, report->v, report->h, report->buttons);
#else
bluefruit_serial_send(0xFD);
bluefruit_serial_send(0x00);