Readd bluetooth output direction on standard key input.
This commit is contained in:
parent
ddc036b69e
commit
b4ac0598fa
@ -603,6 +603,7 @@ static void send_keyboard(report_keyboard_t *report)
|
|||||||
uint8_t where = where_to_send();
|
uint8_t where = where_to_send();
|
||||||
|
|
||||||
#ifdef BLUETOOTH_ENABLE
|
#ifdef BLUETOOTH_ENABLE
|
||||||
|
if (where == OUTPUT_BLUETOOTH || where == OUTPUT_USB_AND_BT) {
|
||||||
#ifdef MODULE_ADAFRUIT_BLE
|
#ifdef MODULE_ADAFRUIT_BLE
|
||||||
adafruit_ble_send_keys(report->mods, report->keys, sizeof(report->keys));
|
adafruit_ble_send_keys(report->mods, report->keys, sizeof(report->keys));
|
||||||
#else
|
#else
|
||||||
@ -611,6 +612,7 @@ static void send_keyboard(report_keyboard_t *report)
|
|||||||
bluefruit_serial_send(report->raw[i]);
|
bluefruit_serial_send(report->raw[i]);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (where != OUTPUT_USB && where != OUTPUT_USB_AND_BT) {
|
if (where != OUTPUT_USB && where != OUTPUT_USB_AND_BT) {
|
||||||
|
Loading…
Reference in New Issue
Block a user