aboutsummaryrefslogtreecommitdiff
path: root/quantum/raw_hid.c
blob: 2c7a75f325df382931a28b8ed523e833e4c85858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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.
}