Adafruit Feather BLE / BLE Friend mouse buttons support
This commit is contained in:
parent
80707d529c
commit
f0fc2db4e2
3 changed files with 21 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue