3ac1a11a37
The application usage used by report 1 is `HID_USAGE_GD_KEYBOARD`. Moreover, the `keys` usage page (0x07) that primarily feeds into this report is predominantly keyboard codes. The rest of the system should align with this naming convention.
15 lines
319 B
C
15 lines
319 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();
|
|
|
|
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);
|