summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/bluetooth/bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/bluetooth/bluetooth.c')
-rw-r--r--keyboards/keychron/bluetooth/bluetooth.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/keychron/bluetooth/bluetooth.c b/keyboards/keychron/bluetooth/bluetooth.c
index e93fd8d4ac..c026a72d4c 100644
--- a/keyboards/keychron/bluetooth/bluetooth.c
+++ b/keyboards/keychron/bluetooth/bluetooth.c
@@ -49,10 +49,13 @@ uint8_t bluetooth_report_protocol = true;
uint8_t bluetooth_keyboard_leds(void);
void bluetooth_send_keyboard(report_keyboard_t *report);
void bluetooth_send_mouse(report_mouse_t *report);
+void bluetooth_send_extra(report_extra_t *report);
void bluetooth_send_system(uint16_t data);
void bluetooth_send_consumer(uint16_t data);
+
+
/* host struct */
-host_driver_t bluetooth_driver = {bluetooth_keyboard_leds, bluetooth_send_keyboard, bluetooth_send_mouse, bluetooth_send_system, bluetooth_send_consumer};
+host_driver_t bluetooth_driver = {bluetooth_keyboard_leds, bluetooth_send_keyboard, bluetooth_send_mouse, bluetooth_send_extra};
#define BLUETOOTH_EVENT_QUEUE_SIZE 16
bluetooth_event_t bt_event_queue[BLUETOOTH_EVENT_QUEUE_SIZE];
@@ -342,6 +345,9 @@ void bluetooth_send_mouse(report_mouse_t *report) {
}
}
+void bluetooth_send_extra(report_extra_t *report) {
+}
+
void bluetooth_send_system(uint16_t data) {
if (bt_state == BLUETOOTH_CONNECTED) {
if (bluetooth_transport.send_system) bluetooth_transport.send_system(data);