summaryrefslogtreecommitdiff
path: root/app/include/zmk/events/keycode-state-changed.h
diff options
context:
space:
mode:
authorOkke Formsma <okke@formsma.nl>2020-10-10 23:32:53 +0200
committerGitHub <noreply@github.com>2020-10-10 17:32:53 -0400
commitd38740cebf3be17a7d55fc51f5f06752182f96d8 (patch)
tree9598a6488632d2288aa10f954acde954861015a2 /app/include/zmk/events/keycode-state-changed.h
parentfc6c01fd6941ec795710d66ead9e17d5dfbaa19d (diff)
Add timestamps to position and behavior events (#147)
* Add timestamps to position events and behaviors. - Take original event timestamps into consideration so nested tap-holds have proper timing. - Add position and timestamp to keycode state changed event so the one-shot behavior can properly identify other keypresses and timings. - Add timestamp to position events received from peripheral * reduce number of arguments to behaviors
Diffstat (limited to 'app/include/zmk/events/keycode-state-changed.h')
-rw-r--r--app/include/zmk/events/keycode-state-changed.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/include/zmk/events/keycode-state-changed.h b/app/include/zmk/events/keycode-state-changed.h
index 4c00654..1e2c24e 100644
--- a/app/include/zmk/events/keycode-state-changed.h
+++ b/app/include/zmk/events/keycode-state-changed.h
@@ -24,6 +24,5 @@ inline struct keycode_state_changed *create_keycode_state_changed(u8_t usage_pag
ev->usage_page = usage_page;
ev->keycode = keycode;
ev->state = state;
-
return ev;
} \ No newline at end of file