From 7863473dc201f4a497669cbf69875eb6e9389273 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 23 May 2017 22:33:00 +0300 Subject: Add chat command for simulate mouse click by any position and button. --- src/input/inputactionmap.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/input') 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 -- cgit v1.2.3-70-g09d2