diff options
| author | 2021-07-22 19:59:26 -0500 | |
|---|---|---|
| committer | 2021-08-07 23:11:23 -0500 | |
| commit | 48b6d41f1b95cd61d6c60c3db1a5b89ac788a66a (patch) | |
| tree | 6cac4bd2f23cba7a8c2bcee29270893d60179752 /src/input_common/main.cpp | |
| parent | Merge pull request #6830 from ameerj/nvdec-unimpld-codec (diff) | |
| download | yuzu-48b6d41f1b95cd61d6c60c3db1a5b89ac788a66a.tar.gz yuzu-48b6d41f1b95cd61d6c60c3db1a5b89ac788a66a.tar.xz yuzu-48b6d41f1b95cd61d6c60c3db1a5b89ac788a66a.zip | |
input_common: Improve SDL joystick and hide toggle option
Diffstat (limited to 'src/input_common/main.cpp')
| -rw-r--r-- | src/input_common/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index 8de3d4520..ff23230f0 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp | |||
| @@ -304,10 +304,10 @@ std::vector<std::unique_ptr<Polling::DevicePoller>> InputSubsystem::GetPollers([ | |||
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | std::string GenerateKeyboardParam(int key_code) { | 306 | std::string GenerateKeyboardParam(int key_code) { |
| 307 | Common::ParamPackage param{ | 307 | Common::ParamPackage param; |
| 308 | {"engine", "keyboard"}, | 308 | param.Set("engine", "keyboard"); |
| 309 | {"code", std::to_string(key_code)}, | 309 | param.Set("code", key_code); |
| 310 | }; | 310 | param.Set("toggle", false); |
| 311 | return param.Serialize(); | 311 | return param.Serialize(); |
| 312 | } | 312 | } |
| 313 | 313 | ||