logo

qmk_firmware

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

raw_hid.c (459B)


  1. // Copyright 2025 QMK
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #include "raw_hid.h"
  4. #include "host.h"
  5. void raw_hid_send(uint8_t *data, uint8_t length) {
  6. host_raw_hid_send(data, length);
  7. }
  8. __attribute__((weak)) void raw_hid_receive(uint8_t *data, uint8_t length) {
  9. // Users should #include "raw_hid.h" in their own code
  10. // and implement this function there. Leave this as weak linkage
  11. // so users can opt to not handle data coming in.
  12. }