diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-06-21 21:43:44 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-06-21 21:43:44 -0400 |
commit | 223edf05ad08938b066f9187668ebfae43c5e91a (patch) | |
tree | e2719b609c701a72b9185b371d3824edf3af8620 /app/include/zmk/keymap.h | |
parent | 7e659851c80bf2819554d93ad9971f56aa5b225b (diff) |
Refactor global bindings, implement mod-tap.
* Use extra comptible = "zmk,behavior-global" to add
behaviors to global bindings for event notification.
* Implement mod-tap, as a keymap binding and global one
to skip tap if other keycode pressed while held.
Diffstat (limited to 'app/include/zmk/keymap.h')
-rw-r--r-- | app/include/zmk/keymap.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/include/zmk/keymap.h b/app/include/zmk/keymap.h index cf38904..38c1249 100644 --- a/app/include/zmk/keymap.h +++ b/app/include/zmk/keymap.h @@ -1,13 +1,5 @@ #pragma once -#include <devicetree.h> -#include <usb/usb_device.h> -#include <usb/class/usb_hid.h> -#include <dt-bindings/zmk/keys.h> - -#include <zmk/matrix.h> -// #include <zmk/keys.h> - bool zmk_keymap_layer_activate(u8_t layer); bool zmk_keymap_layer_deactivate(u8_t layer); |