diff options
| author | 2023-01-13 23:29:05 -0600 | |
|---|---|---|
| committer | 2023-01-20 00:51:45 -0600 | |
| commit | 340f15d1fa79594dbe12a6e19140ba012751b533 (patch) | |
| tree | 7a9ef54a17f927e4b8cf98dd32dd6d41c0d75201 /src/input_common/drivers/sdl_driver.cpp | |
| parent | core: hid: Only set the polling mode to the correct side (diff) | |
| download | yuzu-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.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 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 | } |