1
0
Fork 0
qmk_firmware/quantum
Luke Silva a3357d078e 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.
2017-01-28 18:42:35 +11:00
..
api API Sysex fixes 2016-12-29 12:13:30 +02:00
audio initial subatomic keymap (text) 2016-12-21 00:22:32 -05:00
keymap_extras Annotates nordic 2016-12-02 13:03:51 -05:00
process_keycode turn off rgb_midi in ez 2017-01-23 13:55:24 -05:00
serial_link Convert tirple_buffered_object_tests to GTest 2016-08-27 21:57:49 +03:00
template Fix the keyboard template with new make syntax 2016-08-27 23:31:15 +03:00
tools Backlight abstraction and other changes (#439) 2016-06-23 22:18:20 -04:00
visualizer added mods status bit to visualizer. 2017-01-17 21:57:32 -05:00
analog.c quantum separated 2015-10-26 14:49:46 -04:00
analog.h quantum separated 2015-10-26 14:49:46 -04:00
api.c rgb clean-up, api clean-up 2016-12-19 11:18:18 -05:00
api.h separated into api files/folder 2016-11-26 15:38:44 -05:00
config_common.h API Sysex fixes 2016-12-29 12:13:30 +02:00
dynamic_macro.h Reduce the default dynamic macro buffer 2016-10-09 12:52:39 +02:00
keycode_config.c Cleans up quantum/keymap situation, removes extra lufa folders (#416) 2016-06-18 14:30:24 -04:00
keycode_config.h Use keyboard config for nkro (#7) 2016-09-06 23:19:01 -05:00
keymap.h Keycode refactor 2016-12-29 18:28:48 +11:00
keymap_common.c Add ability to use tap macros without using functions 2017-01-27 10:28:42 +11:00
light_ws2812.c rgb light through midi 2016-11-17 17:42:14 -05:00
light_ws2812.h rgb clean-up, api clean-up 2016-12-19 11:18:18 -05:00
matrix.c don't always detect a matrix change (fixes debounce) 2016-11-18 23:20:07 -05:00
pincontrol.h Add arduino-alike GPIO pin control helpers 2016-11-27 22:58:34 -08:00
quantum.c Added check that makes sure a code is a right modifier before considering it as one 2016-12-23 21:51:11 +02:00
quantum.h separated into api files/folder 2016-11-26 15:38:44 -05:00
quantum_keycodes.h Add support for various tapping macros 2017-01-28 18:42:35 +11:00
rgblight.c Removed errant + 2016-12-29 09:32:02 -05:00
rgblight.h Add extern for 'led' global, set 'weak' attribute for rgblight_set() 2016-12-28 16:29:02 -05:00
variable_trace.c Add possibility to control variable trace from make 2016-11-06 22:11:24 +02:00
variable_trace.h Add documentation for the variable tracing 2016-11-06 22:44:43 +02:00