summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-09-28 16:27:29 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-11-16 05:33:20 +0100
commitceb7b11f166a4e59945a6296d364980c37ca681e (patch)
treecab0edaef1c2eb29b7ac09470d27aedc894410f3 /src/input_common
parentsettings: Preparation for per-game input settings (diff)
downloadyuzu-ceb7b11f166a4e59945a6296d364980c37ca681e.tar
yuzu-ceb7b11f166a4e59945a6296d364980c37ca681e.tar.gz
yuzu-ceb7b11f166a4e59945a6296d364980c37ca681e.tar.bz2
yuzu-ceb7b11f166a4e59945a6296d364980c37ca681e.tar.lz
yuzu-ceb7b11f166a4e59945a6296d364980c37ca681e.tar.xz
yuzu-ceb7b11f166a4e59945a6296d364980c37ca681e.tar.zst
yuzu-ceb7b11f166a4e59945a6296d364980c37ca681e.zip
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/main.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp
index 354c734fe..b438482cc 100644
--- a/src/input_common/main.cpp
+++ b/src/input_common/main.cpp
@@ -96,10 +96,6 @@ struct InputSubsystem::Impl {
if (!params.Has("class") || params.Get("class", "") == "any") {
return {};
}
- if (params.Get("class", "") == "keyboard") {
- // TODO consider returning the SDL key codes for the default keybindings
- return {};
- }
if (params.Get("class", "") == "gcpad") {
return gcadapter->GetAnalogMappingForDevice(params);
}
@@ -116,10 +112,6 @@ struct InputSubsystem::Impl {
if (!params.Has("class") || params.Get("class", "") == "any") {
return {};
}
- if (params.Get("class", "") == "keyboard") {
- // TODO consider returning the SDL key codes for the default keybindings
- return {};
- }
if (params.Get("class", "") == "gcpad") {
return gcadapter->GetButtonMappingForDevice(params);
}