diff options
author | tmk <nobody@nowhere> | 2013-03-04 16:37:19 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-03-04 16:40:19 +0900 |
commit | 083c75816fbad6bcbbc268eb77e5011d2d16656b (patch) | |
tree | e383dd8db9127b63d13e0a785499af02bcf2e146 /common | |
parent | 40f1a4930a10ce9253c1215949b497c322db41da (diff) | |
download | firmware-083c75816fbad6bcbbc268eb77e5011d2d16656b.tar.gz firmware-083c75816fbad6bcbbc268eb77e5011d2d16656b.tar.bz2 firmware-083c75816fbad6bcbbc268eb77e5011d2d16656b.zip |
Create keymap.md
Diffstat (limited to 'common')
-rw-r--r-- | common/action.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/action.h b/common/action.h index 39e0ae328..a8c56a613 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) |