summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/sdl_driver.cpp
diff options
context:
space:
mode:
authorGravatar german772023-01-13 23:29:05 -0600
committerGravatar Narr the Reg2023-01-20 00:51:45 -0600
commit340f15d1fa79594dbe12a6e19140ba012751b533 (patch)
tree7a9ef54a17f927e4b8cf98dd32dd6d41c0d75201 /src/input_common/drivers/sdl_driver.cpp
parentcore: hid: Only set the polling mode to the correct side (diff)
downloadyuzu-340f15d1fa79594dbe12a6e19140ba012751b533.tar.gz
yuzu-340f15d1fa79594dbe12a6e19140ba012751b533.tar.xz
yuzu-340f15d1fa79594dbe12a6e19140ba012751b533.zip
input_common: Address byte review
Diffstat (limited to 'src/input_common/drivers/sdl_driver.cpp')
-rw-r--r--src/input_common/drivers/sdl_driver.cpp2
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 e915ec090..a0103edde 100644
--- a/src/input_common/drivers/sdl_driver.cpp
+++ b/src/input_common/drivers/sdl_driver.cpp
@@ -321,7 +321,7 @@ void SDLDriver::InitJoystick(int joystick_index) {
321 if (Settings::values.enable_joycon_driver) { 321 if (Settings::values.enable_joycon_driver) {
322 if (guid.uuid[5] == 0x05 && guid.uuid[4] == 0x7e && 322 if (guid.uuid[5] == 0x05 && guid.uuid[4] == 0x7e &&
323 (guid.uuid[8] == 0x06 || guid.uuid[8] == 0x07)) { 323 (guid.uuid[8] == 0x06 || guid.uuid[8] == 0x07)) {
324 LOG_ERROR(Input, "Device black listed {}", joystick_index); 324 LOG_WARNING(Input, "Preferring joycon driver for device index {}", joystick_index);
325 SDL_JoystickClose(sdl_joystick); 325 SDL_JoystickClose(sdl_joystick);
326 return; 326 return;
327 } 327 }