qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

bluetooth.c (889B)


      1 // Copyright 2025 QMK
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #include "bluetooth.h"
      5 
      6 __attribute__((weak)) void bluetooth_init(void) {}
      7 
      8 __attribute__((weak)) void bluetooth_task(void) {}
      9 
     10 __attribute__((weak)) bool bluetooth_is_connected(void) {
     11     return true;
     12 }
     13 
     14 __attribute__((weak)) bool bluetooth_can_send_nkro(void) {
     15     return false;
     16 }
     17 
     18 __attribute__((weak)) uint8_t bluetooth_keyboard_leds(void) {
     19     return 0;
     20 }
     21 
     22 __attribute__((weak)) void bluetooth_send_keyboard(report_keyboard_t *report) {}
     23 
     24 __attribute__((weak)) void bluetooth_send_nkro(report_nkro_t *report) {}
     25 
     26 __attribute__((weak)) void bluetooth_send_mouse(report_mouse_t *report) {}
     27 
     28 __attribute__((weak)) void bluetooth_send_consumer(uint16_t usage) {}
     29 
     30 __attribute__((weak)) void bluetooth_send_system(uint16_t usage) {}
     31 
     32 __attribute__((weak)) void bluetooth_send_raw_hid(uint8_t *data, uint8_t length) {}