input_common: Improve SDL joystick and hide toggle option

This commit is contained in:
german77
2021-07-22 19:59:26 -05:00
parent bd0e1d3a25
commit 48b6d41f1b
4 changed files with 76 additions and 33 deletions

View File

@ -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;
}
}