From 083c75816fbad6bcbbc268eb77e5011d2d16656b Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 4 Mar 2013 16:37:19 +0900 Subject: Create keymap.md --- common/action.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/action.h') 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) -- cgit v1.2.3