logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

bluetooth.c (889B)


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