forked from kofal.net/zmk
feat(behaviors): Add macro support.
* Fine grainted press/release/tap actions. * TIming between actions can be controlled. * Processed async, to avoid blocking.
This commit is contained in:
committed by
Pete Johanson
parent
58c7c0ee0c
commit
3a6a249ad0
14
app/include/zmk/behavior_queue.h
Normal file
14
app/include/zmk/behavior_queue.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* Copyright (c) 2022 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <kernel.h>
|
||||
#include <stdint.h>
|
||||
#include <zmk/behavior.h>
|
||||
|
||||
int zmk_behavior_queue_add(uint32_t position, const struct zmk_behavior_binding behavior,
|
||||
bool press, uint32_t wait);
|
||||
Reference in New Issue
Block a user