Note there was one place where a non-strict prototype was actually being used with an argument, in `zmk_hog_init`. In this case, the actual argument type was added instead.
19 lines
488 B
C
19 lines
488 B
C
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <zmk/keys.h>
|
|
#include <zmk/hid.h>
|
|
|
|
int zmk_hog_init(const struct device *_arg);
|
|
|
|
int zmk_hog_send_keyboard_report(struct zmk_hid_keyboard_report_body *body);
|
|
int zmk_hog_send_consumer_report(struct zmk_hid_consumer_report_body *body);
|
|
|
|
#if IS_ENABLED(CONFIG_ZMK_MOUSE)
|
|
int zmk_hog_send_mouse_report(struct zmk_hid_mouse_report_body *body);
|
|
#endif // IS_ENABLED(CONFIG_ZMK_MOUSE)
|