diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-01-30 15:02:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 15:02:12 +0100 |
commit | e74660673b68e7226b7e934efe5eac620f7a98e6 (patch) | |
tree | 355def233607668733581b2b5194d0e54e1b7995 /src/input_common/helpers/joycon_protocol/poller.cpp | |
parent | Merge pull request #9631 from vonchenplus/vulkan_clear (diff) | |
parent | input_common: joycon: Remove Magic numbers from common protocol (diff) | |
download | yuzu-e74660673b68e7226b7e934efe5eac620f7a98e6.tar yuzu-e74660673b68e7226b7e934efe5eac620f7a98e6.tar.gz yuzu-e74660673b68e7226b7e934efe5eac620f7a98e6.tar.bz2 yuzu-e74660673b68e7226b7e934efe5eac620f7a98e6.tar.lz yuzu-e74660673b68e7226b7e934efe5eac620f7a98e6.tar.xz yuzu-e74660673b68e7226b7e934efe5eac620f7a98e6.tar.zst yuzu-e74660673b68e7226b7e934efe5eac620f7a98e6.zip |
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/poller.cpp')
-rw-r--r-- | src/input_common/helpers/joycon_protocol/poller.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/input_common/helpers/joycon_protocol/poller.cpp b/src/input_common/helpers/joycon_protocol/poller.cpp index 7f8e093fa..9bb15e935 100644 --- a/src/input_common/helpers/joycon_protocol/poller.cpp +++ b/src/input_common/helpers/joycon_protocol/poller.cpp @@ -31,9 +31,7 @@ void JoyconPoller::ReadActiveMode(std::span<u8> buffer, const MotionStatus& moti case Joycon::ControllerType::Pro: UpdateActiveProPadInput(data, motion_status); break; - case Joycon::ControllerType::Grip: - case Joycon::ControllerType::Dual: - case Joycon::ControllerType::None: + default: break; } @@ -58,9 +56,7 @@ void JoyconPoller::ReadPassiveMode(std::span<u8> buffer) { case Joycon::ControllerType::Pro: UpdatePasiveProPadInput(data); break; - case Joycon::ControllerType::Grip: - case Joycon::ControllerType::Dual: - case Joycon::ControllerType::None: + default: break; } } |