From 6aaa6e0ef9aa1e464b67723fd4cdd0d63b2c861d Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 23 Jul 2013 07:45:25 +0900 Subject: Add support for macro media/system keys --- doc/keymap.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'doc/keymap.md') diff --git a/doc/keymap.md b/doc/keymap.md index 7d979eb7c6..e4728b507d 100644 --- a/doc/keymap.md +++ b/doc/keymap.md @@ -363,21 +363,19 @@ Default Layer also has bitwise operations, they are executed when key is release `Macro` action indicates complex key strokes. - MACRO( MD(LSHIFT), D(D), END ) - MACRO( U(D), MU(LSHIFT), END ) + MACRO( D(LSHIFT), D(D), END ) + MACRO( U(D), U(LSHIFT), END ) MACRO( I(255), T(H), T(E), T(L), T(L), W(255), T(O), END ) -#### 2.3.1 Normal mode +#### 2.3.1 Macro Commands - **I()** change interavl of stroke. - **D()** press key - **U()** release key - **T()** type key(press and release) - **W()** wait -- **MD()** modifier down -- **MU()** modifier up - **END** end mark -#### 2.3.2 Extended mode +#### 2.3.2 Examples ***TODO: sample impl*** See `keyboard/hhkb/keymap.c` for sample. -- cgit v1.2.3