summaryrefslogtreecommitdiff
path: root/app/include/zmk/behavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/include/zmk/behavior.h')
-rw-r--r--app/include/zmk/behavior.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/include/zmk/behavior.h b/app/include/zmk/behavior.h
index 63edcc9..428ae24 100644
--- a/app/include/zmk/behavior.h
+++ b/app/include/zmk/behavior.h
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
#pragma once
@@ -5,4 +10,10 @@ 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;
}; \ No newline at end of file