summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/sdl_driver.h
diff options
context:
space:
mode:
authorGravatar bunnei2023-07-10 18:53:16 -0700
committerGravatar GitHub2023-07-10 18:53:16 -0700
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.gz
yuzu-169b198d084b925d3ad7048e939e8d25a83a34b8.tar.xz
yuzu-169b198d084b925d3ad7048e939e8d25a83a34b8.zip
Merge pull request #11050 from SuperSamus/sdl-button-labels
input_common: set `SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS` to 0
Diffstat (limited to '')
-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:
100 int axis_y, float offset_x, 100 int axis_y, float offset_x,
101 float offset_y) const; 101 float offset_y) const;
102 102
103 /// Returns the default button bindings list for generic controllers 103 /// Returns the default button bindings list
104 ButtonBindings GetDefaultButtonBinding() const; 104 ButtonBindings GetDefaultButtonBinding(const std::shared_ptr<SDLJoystick>& joystick) const;
105
106 /// Returns the default button bindings list for nintendo controllers
107 ButtonBindings GetNintendoButtonBinding(const std::shared_ptr<SDLJoystick>& joystick) const;
108 105
109 /// Returns the button mappings from a single controller 106 /// Returns the button mappings from a single controller
110 ButtonMapping GetSingleControllerMapping(const std::shared_ptr<SDLJoystick>& joystick, 107 ButtonMapping GetSingleControllerMapping(const std::shared_ptr<SDLJoystick>& joystick,