summaryrefslogtreecommitdiff
path: root/app/include/zmk/keymap.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/include/zmk/keymap.h')
-rw-r--r--app/include/zmk/keymap.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/include/zmk/keymap.h b/app/include/zmk/keymap.h
index c1f6393..b8f4969 100644
--- a/app/include/zmk/keymap.h
+++ b/app/include/zmk/keymap.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#pragma once
bool zmk_keymap_layer_active(u8_t layer);
@@ -5,4 +11,4 @@ int zmk_keymap_layer_activate(u8_t layer);
int zmk_keymap_layer_deactivate(u8_t layer);
int zmk_keymap_layer_toggle(u8_t layer);
-int zmk_keymap_position_state_changed(u32_t position, bool pressed);
+int zmk_keymap_position_state_changed(u32_t position, bool pressed, s64_t timestamp);