diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2019-06-25 13:56:52 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2019-06-26 01:04:41 +0200 |
commit | 461109e695f163303549648d93dc7d9253e88b81 (patch) | |
tree | d749711146f8ffd98838f8ada19e342eff0aba5e /src/model01.ino | |
parent | 67cc18c9ed357d4ba290d62e2f2836601a19ca2b (diff) |
For the top row, return the num key when a modifier is active.
This is useful with a window manager like i3: without this macro it
doesn't see the difference between $mod+R0C2 (switch to workspace #2)
and $mod+shift+R0C2 (move focused container to workspace #2), as R0C2
triggers LSHIFT(Key_2).
Diffstat (limited to 'src/model01.ino')
-rw-r--r-- | src/model01.ino | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/model01.ino b/src/model01.ino index 3a714d7..03ad6c2 100644 --- a/src/model01.ino +++ b/src/model01.ino @@ -28,6 +28,7 @@ #include <Kaleidoscope-MouseKeys.h> #include <Kaleidoscope-Unicode.h> +#include "Macros.h" #include "TapDance.h" #include "keymap.h" @@ -43,6 +44,7 @@ KALEIDOSCOPE_INIT_PLUGINS( , OneShot , EscapeOneShot , ActiveModColorEffect + , Macros ); void setup() { |