Keymap: Custom Key Action - mcaple/tmk_keyboard GitHub Wiki
Work in progress
Function Action
You can define your custom Action using 'Function Action'(ACTION_FUNCTION
or ACTION_FUNCTION_TAP
).
https://github.com/tmk/tmk_core/blob/master/doc/keymap.md#24-function-action
#define ACTION_xxx ACTION_FUNCTION(1,