summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers/sdl_driver.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-07-11 03:53:16 +0200
committerGitHub <noreply@github.com>2023-07-11 03:53:16 +0200
commit169b198d084b925d3ad7048e939e8d25a83a34b8 (patch)
tree149d5c3f02297a2b86baab9ed948a0f4d3f83ca6 /src/input_common/drivers/sdl_driver.h
parentMerge pull request #11067 from t895/fragile-data (diff)
parentinput_common: set `SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS` to 0 (diff)
downloadyuzu-169b198d084b925d3ad7048e939e8d25a83a34b8.tar
yuzu-169b198d084b925d3ad7048e939e8d25a83a34b8.tar.gz
yuzu-169b198d084b925d3ad7048e939e8d25a83a34b8.tar.bz2
yuzu-169b198d084b925d3ad7048e939e8d25a83a34b8.tar.lz
yuzu-169b198d084b925d3ad7048e939e8d25a83a34b8.tar.xz
yuzu-169b198d084b925d3ad7048e939e8d25a83a34b8.tar.zst
yuzu-169b198d084b925d3ad7048e939e8d25a83a34b8.zip
Diffstat (limited to 'src/input_common/drivers/sdl_driver.h')
-rw-r--r--src/input_common/drivers/sdl_driver.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/input_common/drivers/sdl_driver.h b/src/input_common/drivers/sdl_driver.h
index ffde169b3..fcba4e3c6 100644
--- a/src/input_common/drivers/sdl_driver.h
+++ b/src/input_common/drivers/sdl_driver.h
@@ -100,11 +100,8 @@ private:
int axis_y, float offset_x,
float offset_y) const;
- /// Returns the default button bindings list for generic controllers
- ButtonBindings GetDefaultButtonBinding() const;
-
- /// Returns the default button bindings list for nintendo controllers
- ButtonBindings GetNintendoButtonBinding(const std::shared_ptr<SDLJoystick>& joystick) const;
+ /// Returns the default button bindings list
+ ButtonBindings GetDefaultButtonBinding(const std::shared_ptr<SDLJoystick>& joystick) const;
/// Returns the button mappings from a single controller
ButtonMapping GetSingleControllerMapping(const std::shared_ptr<SDLJoystick>& joystick,