Add NO_ACTION_FUNCTION config option
This commit is contained in:
parent
9757f960f9
commit
ecb7550a91
|
@ -688,14 +688,18 @@ static void process_action(keyrecord_t *record)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Extentions */
|
/* Extentions */
|
||||||
|
#ifndef NO_ACTION_MACRO
|
||||||
case ACT_MACRO:
|
case ACT_MACRO:
|
||||||
action_macro_play(action_get_macro(record, action.func.id, action.func.opt));
|
action_macro_play(action_get_macro(record, action.func.id, action.func.opt));
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case ACT_COMMAND:
|
case ACT_COMMAND:
|
||||||
break;
|
break;
|
||||||
|
#ifndef NO_ACTION_FUNCTION
|
||||||
case ACT_FUNCTION:
|
case ACT_FUNCTION:
|
||||||
action_function(record, action.func.id, action.func.opt);
|
action_function(record, action.func.id, action.func.opt);
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,5 +64,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define NO_ACTION_OVERLAY
|
#define NO_ACTION_OVERLAY
|
||||||
#define NO_ACTION_TAPPING
|
#define NO_ACTION_TAPPING
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_MACRO
|
||||||
|
#define NO_ACTION_FUNCTION
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue