diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-09-17 18:00:29 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-11-16 05:33:19 +0100 |
commit | 75eaab2e0f48eb588c1bfb85f96630e199fbc1da (patch) | |
tree | b32ae39414e12787932aed24a5e42c39fcba47cb /src/input_common | |
parent | ui/themes: Cleanup UI (diff) | |
download | yuzu-75eaab2e0f48eb588c1bfb85f96630e199fbc1da.tar yuzu-75eaab2e0f48eb588c1bfb85f96630e199fbc1da.tar.gz yuzu-75eaab2e0f48eb588c1bfb85f96630e199fbc1da.tar.bz2 yuzu-75eaab2e0f48eb588c1bfb85f96630e199fbc1da.tar.lz yuzu-75eaab2e0f48eb588c1bfb85f96630e199fbc1da.tar.xz yuzu-75eaab2e0f48eb588c1bfb85f96630e199fbc1da.tar.zst yuzu-75eaab2e0f48eb588c1bfb85f96630e199fbc1da.zip |
Diffstat (limited to 'src/input_common')
-rw-r--r-- | src/input_common/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index d32fd8b81..354c734fe 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp @@ -78,7 +78,7 @@ struct InputSubsystem::Impl { [[nodiscard]] std::vector<Common::ParamPackage> GetInputDevices() const { std::vector<Common::ParamPackage> devices = { Common::ParamPackage{{"display", "Any"}, {"class", "any"}}, - Common::ParamPackage{{"display", "Keyboard/Mouse"}, {"class", "key"}}, + Common::ParamPackage{{"display", "Keyboard/Mouse"}, {"class", "keyboard"}}, }; #ifdef HAVE_SDL2 auto sdl_devices = sdl->GetInputDevices(); @@ -96,7 +96,7 @@ struct InputSubsystem::Impl { if (!params.Has("class") || params.Get("class", "") == "any") { return {}; } - if (params.Get("class", "") == "key") { + if (params.Get("class", "") == "keyboard") { // TODO consider returning the SDL key codes for the default keybindings return {}; } @@ -116,7 +116,7 @@ struct InputSubsystem::Impl { if (!params.Has("class") || params.Get("class", "") == "any") { return {}; } - if (params.Get("class", "") == "key") { + if (params.Get("class", "") == "keyboard") { // TODO consider returning the SDL key codes for the default keybindings return {}; } |