summaryrefslogtreecommitdiff
path: root/common/action.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-02-13 09:23:52 +0900
committertmk <nobody@nowhere>2013-02-13 09:26:22 +0900
commit48e6d0848cdeac26ffab101ea2ef48e5ac60acd3 (patch)
tree7f6d82af6752a9ca0d7ae2e3b72cf1ad3b602a3a /common/action.h
parentf02431e9da2158ff8a8508629b86329fef0ba24a (diff)
Make Transparent feature available to new keymaps.
Diffstat (limited to 'common/action.h')
-rw-r--r--common/action.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/action.h b/common/action.h
index ac44b1a793..bb44049ad9 100644
--- a/common/action.h
+++ b/common/action.h
@@ -106,12 +106,14 @@ Keyboard Keys
-------------
ACT_LMODS(0000):
0000|0000|000000|00 No action
+0000|0000|000000|01 Transparent
0000|0000| keycode Key
0000|mods|000000|00 Left mods
0000|mods| keycode Key & Left mods
ACT_RMODS(0001):
-0001|0000|000000|00 No action
+0001|0000|000000|00 No action(not used)
+0001|0000|000000|01 Transparent(not used)
0001|0000| keycode Key(no used)
0001|mods|000000|00 Right mods
0001|mods| keycode Key & Right mods
@@ -207,6 +209,7 @@ enum action_kind_id {
/* action utility */
#define ACTION_NO 0
+#define ACTION_TRANSPARENT 1
#define ACTION(kind, param) ((kind)<<12 | (param))
#define MODS4(mods) (((mods)>>4 | (mods)) & 0x0F)