You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a3357d078e
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. |
8 years ago | |
---|---|---|
.. | ||
api | 8 years ago | |
audio | 8 years ago | |
keymap_extras | 8 years ago | |
process_keycode | 8 years ago | |
serial_link | 8 years ago | |
template | 8 years ago | |
tools | 9 years ago | |
visualizer | 8 years ago | |
analog.c | 9 years ago | |
analog.h | 9 years ago | |
api.c | 8 years ago | |
api.h | 8 years ago | |
config_common.h | 8 years ago | |
dynamic_macro.h | 8 years ago | |
keycode_config.c | 9 years ago | |
keycode_config.h | 8 years ago | |
keymap.h | 8 years ago | |
keymap_common.c | 8 years ago | |
light_ws2812.c | 8 years ago | |
light_ws2812.h | 8 years ago | |
matrix.c | 8 years ago | |
pincontrol.h | 8 years ago | |
quantum.c | 8 years ago | |
quantum.h | 8 years ago | |
quantum_keycodes.h | 8 years ago | |
rgblight.c | 8 years ago | |
rgblight.h | 8 years ago | |
variable_trace.c | 8 years ago | |
variable_trace.h | 8 years ago |