mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-01 14:03:21 +00:00
16 lines
459 B
C
16 lines
459 B
C
// Copyright 2025 QMK
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "raw_hid.h"
|
|
#include "host.h"
|
|
|
|
void raw_hid_send(uint8_t *data, uint8_t length) {
|
|
host_raw_hid_send(data, length);
|
|
}
|
|
|
|
__attribute__((weak)) void raw_hid_receive(uint8_t *data, uint8_t length) {
|
|
// Users should #include "raw_hid.h" in their own code
|
|
// and implement this function there. Leave this as weak linkage
|
|
// so users can opt to not handle data coming in.
|
|
}
|