aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/mouse/mouse_poller.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-07-22 19:59:26 -0500
committergerman77 <juangerman-13@hotmail.com>2021-08-07 23:11:23 -0500
commit48b6d41f1b95cd61d6c60c3db1a5b89ac788a66a (patch)
tree6cac4bd2f23cba7a8c2bcee29270893d60179752 /src/input_common/mouse/mouse_poller.cpp
parentbd0e1d3a2561c3580f3d6706800493a347ad6be2 (diff)
input_common: Improve SDL joystick and hide toggle option
Diffstat (limited to 'src/input_common/mouse/mouse_poller.cpp')
-rw-r--r--src/input_common/mouse/mouse_poller.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_common/mouse/mouse_poller.cpp b/src/input_common/mouse/mouse_poller.cpp
index efcdd85d2c..090b26972d 100644
--- a/src/input_common/mouse/mouse_poller.cpp
+++ b/src/input_common/mouse/mouse_poller.cpp
@@ -57,6 +57,7 @@ Common::ParamPackage MouseButtonFactory::GetNextInput() const {
if (pad.button != MouseInput::MouseButton::Undefined) {
params.Set("engine", "mouse");
params.Set("button", static_cast<u16>(pad.button));
+ params.Set("toggle", false);
return params;
}
}