2020-09-10 13:57:44 +10:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
2020-06-20 14:11:39 +10:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct zmk_behavior_binding {
|
|
|
|
char *behavior_dev;
|
2020-12-03 03:41:57 +11:00
|
|
|
uint32_t param1;
|
|
|
|
uint32_t param2;
|
2020-10-11 08:32:53 +11:00
|
|
|
};
|
|
|
|
|
|
|
|
struct zmk_behavior_binding_event {
|
|
|
|
int layer;
|
2020-12-03 03:41:57 +11:00
|
|
|
uint32_t position;
|
|
|
|
int64_t timestamp;
|
2020-06-20 14:11:39 +10:00
|
|
|
};
|