summaryrefslogtreecommitdiff
path: root/common/action.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-02-25 15:30:37 +0900
committertmk <nobody@nowhere>2013-02-25 15:30:37 +0900
commit23c32d304bcc5146a575e547bba80ee8d86a2856 (patch)
treed7826faa7e6d3648cffa21ae163fe1e369caf384 /common/action.c
parent000f3c4c543e0c4490787ccc3a8920d4ee0692ec (diff)
Add MACRO action
Diffstat (limited to 'common/action.c')
-rw-r--r--common/action.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/action.c b/common/action.c
index 294ce00fb1..fc88180309 100644
--- a/common/action.c
+++ b/common/action.c
@@ -23,8 +23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "command.h"
#include "util.h"
#include "debug.h"
-#include "action.h"
#include "layer_switch.h"
+#include "action_macro.h"
+#include "action.h"
static void process_action(keyrecord_t *record);
@@ -671,7 +672,7 @@ static void process_action(keyrecord_t *record)
/* Extentions */
case ACT_MACRO:
- // TODO
+ action_macro_play(action_get_macro(record, action.func.id, action.func.opt));
break;
case ACT_COMMAND:
break;