Quellcode durchsuchen

Add NO_ACTION_FUNCTION config option

tags/v1.9
tmk vor 11 Jahren
Ursprung
Commit
ecb7550a91
2 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 4
    0
      common/action.c
  2. 1
    0
      keyboard/gh60/config.h

+ 4
- 0
common/action.c Datei anzeigen

@@ -688,14 +688,18 @@ static void process_action(keyrecord_t *record)
#endif

/* Extentions */
#ifndef NO_ACTION_MACRO
case ACT_MACRO:
action_macro_play(action_get_macro(record, action.func.id, action.func.opt));
break;
#endif
case ACT_COMMAND:
break;
#ifndef NO_ACTION_FUNCTION
case ACT_FUNCTION:
action_function(record, action.func.id, action.func.opt);
break;
#endif
default:
break;
}

+ 1
- 0
keyboard/gh60/config.h Datei anzeigen

@@ -64,5 +64,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define NO_ACTION_OVERLAY
#define NO_ACTION_TAPPING
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION

#endif

Laden…
Abbrechen
Speichern