summaryrefslogtreecommitdiff
path: root/app/include/zmk/behavior.h
blob: 428ae24336987c0ee4af747bee270ca52c4b0b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2020 The ZMK Contributors
 *
 * SPDX-License-Identifier: MIT
 */

#pragma once

struct zmk_behavior_binding {
    char *behavior_dev;
    u32_t param1;
    u32_t param2;
};

struct zmk_behavior_binding_event {
    int layer;
    u32_t position;
    s64_t timestamp;
};