diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-15 04:56:54 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:28 +0100 |
commit | 42949738f2c01a4125a9a385c9100240181153ec (patch) | |
tree | 5de97be0bc08a1dd4ff5138196c08a6bf2e08e70 /src/input_common/drivers/sdl_driver.cpp | |
parent | core/hid: Improve accuary of mouse implementation (diff) | |
download | yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.gz yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.bz2 yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.lz yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.xz yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.zst yuzu-42949738f2c01a4125a9a385c9100240181153ec.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/drivers/sdl_driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp index 1e3741e0f..0b24f1858 100644 --- a/src/input_common/drivers/sdl_driver.cpp +++ b/src/input_common/drivers/sdl_driver.cpp @@ -929,7 +929,7 @@ std::string SDLDriver::GetHatButtonName(u8 direction_value) const { } } -u8 SDLDriver::GetHatButtonId(const std::string direction_name) const { +u8 SDLDriver::GetHatButtonId(const std::string& direction_name) const { Uint8 direction; if (direction_name == "up") { direction = SDL_HAT_UP; |