diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-23 22:33:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-23 22:33:00 +0300 |
commit | 7863473dc201f4a497669cbf69875eb6e9389273 (patch) | |
tree | b80920475c72e64951798541274ca13b084c6ae6 /src/input | |
parent | 50b6e25bb094fc1942028b711a9d9cc3ac491831 (diff) | |
download | mv-7863473dc201f4a497669cbf69875eb6e9389273.tar.gz mv-7863473dc201f4a497669cbf69875eb6e9389273.tar.bz2 mv-7863473dc201f4a497669cbf69875eb6e9389273.tar.xz mv-7863473dc201f4a497669cbf69875eb6e9389273.zip |
Add chat command for simulate mouse click by any position and button.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputactionmap.h | 6 |
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 |