feat: handle LED indicators report
This commit is contained in:
parent
6276e973d5
commit
4e55c5f6e9
13 changed files with 269 additions and 15 deletions
19
app/include/zmk/hid_indicators.h
Normal file
19
app/include/zmk/hid_indicators.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2022 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <zmk/endpoints_types.h>
|
||||
#include <zmk/hid.h>
|
||||
#include <zmk/hid_indicators_types.h>
|
||||
|
||||
zmk_hid_indicators zmk_hid_indicators_get_current_profile(void);
|
||||
zmk_hid_indicators zmk_hid_indicators_get_profile(struct zmk_endpoint_instance endpoint);
|
||||
void zmk_hid_indicators_set_profile(zmk_hid_indicators indicators,
|
||||
struct zmk_endpoint_instance endpoint);
|
||||
|
||||
void zmk_hid_indicators_process_report(struct zmk_hid_led_report_body *report,
|
||||
struct zmk_endpoint_instance endpoint);
|
||||
Loading…
Add table
Add a link
Reference in a new issue