Browse Source

Add NO_ACTION_FUNCTION config option

tags/v1.9
tmk 11 years ago
parent
commit
ecb7550a91
2 changed files with 5 additions and 0 deletions
  1. 4
    0
      common/action.c
  2. 1
    0
      keyboard/gh60/config.h

+ 4
- 0
common/action.c View File

#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;
} }

+ 1
- 0
keyboard/gh60/config.h View File

#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…
Cancel
Save