#include "action.h"
#include "util.h"
#include "action_layer.h"
+#include "hook.h"
#ifdef DEBUG_ACTION
#include "debug.h"
debug("default_layer_state: ");
default_layer_debug(); debug(" to ");
default_layer_state = state;
+ hook_default_layer_change(default_layer_state);
default_layer_debug(); debug("\n");
clear_keyboard_but_mods(); // To avoid stuck keys
}
dprint("layer_state: ");
layer_debug(); dprint(" to ");
layer_state = state;
+ hook_layer_change(layer_state);
layer_debug(); dprintln();
clear_keyboard_but_mods(); // To avoid stuck keys
}