summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/smt/Makefile
diff options
context:
space:
mode:
authorLuke Silva <lukemasilva@gmail.com>2017-01-28 18:42:35 +1100
committerLuke Silva <lukemasilva@gmail.com>2017-01-28 18:42:35 +1100
commita3357d078ee80123040679a357f63e93ff24c4c6 (patch)
tree2f4b1679cfc9720b80d5fd10be8144c892175439 /keyboards/planck/keymaps/smt/Makefile
parentcfc4149712217625fcb75e50348094fd9df432f5 (diff)
Add support for various tapping macros
A macro key can now be easily set to act as a modifier on hold, and press a shifted key when tapped. Or to switch layers when held, and again press a shifted key when tapped. Various other helper defines have been created which send macros when the key is pressed, released and tapped, cleaning up the action_get_macro function inside keymap definitions. The layer switching macros require a GCC extension - 'compound statements enclosed within parentheses'. The use of this extension is already present within the macro subsystem of this project, so its use in this commit should not cause any additional issues. MACRO_NONE had to be cast to a (macro_t*) to suppress compiler warnings within some tapping macros.
Diffstat (limited to 'keyboards/planck/keymaps/smt/Makefile')
0 files changed, 0 insertions, 0 deletions