summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-23 22:33:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-23 22:33:00 +0300
commit7863473dc201f4a497669cbf69875eb6e9389273 (patch)
treeb80920475c72e64951798541274ca13b084c6ae6 /src/input/inputactionmap.h
parent50b6e25bb094fc1942028b711a9d9cc3ac491831 (diff)
downloadmanaverse-7863473dc201f4a497669cbf69875eb6e9389273.tar.gz
manaverse-7863473dc201f4a497669cbf69875eb6e9389273.tar.bz2
manaverse-7863473dc201f4a497669cbf69875eb6e9389273.tar.xz
manaverse-7863473dc201f4a497669cbf69875eb6e9389273.zip
Add chat command for simulate mouse click by any position and button.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 908a0d4b5..bc18cd7a4 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5648,6 +5648,12 @@ static const InputActionData inputActionData
"showitems|items|itemsshow",
UseArgs_true,
Protected_true},
+ {"keyCommandSendMouseKey",
+ defaultAction(&Actions::sendMouseKey),
+ InputCondition::ENABLED,
+ "mousekey|sendmousekey",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction