summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-04 16:37:19 +0900
committertmk <nobody@nowhere>2013-03-04 16:40:19 +0900
commit083c75816fbad6bcbbc268eb77e5011d2d16656b (patch)
treee383dd8db9127b63d13e0a785499af02bcf2e146 /common
parent40f1a4930a10ce9253c1215949b497c322db41da (diff)
downloadqmk_firmware-083c75816fbad6bcbbc268eb77e5011d2d16656b.tar.gz
qmk_firmware-083c75816fbad6bcbbc268eb77e5011d2d16656b.zip
Create keymap.md
Diffstat (limited to 'common')
-rw-r--r--common/action.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/action.h b/common/action.h
index 39e0ae3283..a8c56a6136 100644
--- a/common/action.h
+++ b/common/action.h
@@ -299,6 +299,10 @@ enum layer_params {
* Default Layer
*/
#define ACTION_DEFAULT_LAYER ACTION(ACT_KEYMAP, 0<<8 | OP_RESET | 0)
+#define ACTION_DEFAULT_LAYER_SET(layer) ACTION_KEYMAP_RESET(layer)
+#define ACTION_DEFAULT_LAYER_SET_P(layer) ACTION_KEYMAP_RESET_P(layer)
+#define ACTION_DEFAULT_LAYER_SET_R(layer) ACTION_KEYMAP_RESET_R(layer)
+#define ACTION_DEFAULT_LAYER_SET_B(layer) ACTION_KEYMAP_RESET_B(layer)
#define ACTION_SET_DEFAULT_LAYER(layer) ACTION_KEYMAP_RESET(layer)
#define ACTION_SET_DEFAULT_LAYER_P(layer) ACTION_KEYMAP_RESET_P(layer)
#define ACTION_SET_DEFAULT_LAYER_R(layer) ACTION_KEYMAP_RESET_R(layer)