diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-01-28 03:35:51 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-01-30 02:11:46 +0100 |
commit | 11fea5deea6dd72badbed521ac5639a48d591dc6 (patch) | |
tree | 22edff6c56eb1861020481cac86aacbf599162e2 /src/input_common/helpers/joycon_protocol/poller.cpp | |
parent | Merge pull request #9706 from Morph1984/github-tagged-merge (diff) | |
download | yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.gz yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.bz2 yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.lz yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.xz yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.zst yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.zip |
Diffstat (limited to '')
-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; } } |