Clean up and implement MT release w/o mod press.

This commit is contained in:
Pete Johanson
2020-05-24 23:13:33 -04:00
parent 53aadc4f93
commit 76a433fc39
4 changed files with 14 additions and 7 deletions

View File

@@ -86,6 +86,7 @@
#define ZK_ACTION(k) (k >> 24)
#define _ACTION(a) (a << 24)
#define _ACTION_MODS(m) (m << 16)
#define ZK_KEY(a) (a & 0xFFFF)
#define ZK_MODS(a) ((a >> 16) & 0xFF)
#define ZMK_ACTION_KEY 0x01