diff options
| author | 2023-01-30 09:02:12 -0500 | |
|---|---|---|
| committer | 2023-01-30 09:02:12 -0500 | |
| commit | e74660673b68e7226b7e934efe5eac620f7a98e6 (patch) | |
| tree | 355def233607668733581b2b5194d0e54e1b7995 /src/input_common/drivers/joycon.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.gz yuzu-e74660673b68e7226b7e934efe5eac620f7a98e6.tar.xz yuzu-e74660673b68e7226b7e934efe5eac620f7a98e6.zip | |
Merge pull request #9701 from german77/common_protocol
input_common: joycon: Remove Magic numbers from common protocol
Diffstat (limited to 'src/input_common/drivers/joycon.cpp')
| -rw-r--r-- | src/input_common/drivers/joycon.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input_common/drivers/joycon.cpp b/src/input_common/drivers/joycon.cpp index cedc94e63..4fcfb4510 100644 --- a/src/input_common/drivers/joycon.cpp +++ b/src/input_common/drivers/joycon.cpp | |||
| @@ -668,12 +668,10 @@ std::string Joycons::JoyconName(Joycon::ControllerType type) const { | |||
| 668 | return "Right Joycon"; | 668 | return "Right Joycon"; |
| 669 | case Joycon::ControllerType::Pro: | 669 | case Joycon::ControllerType::Pro: |
| 670 | return "Pro Controller"; | 670 | return "Pro Controller"; |
| 671 | case Joycon::ControllerType::Grip: | ||
| 672 | return "Grip Controller"; | ||
| 673 | case Joycon::ControllerType::Dual: | 671 | case Joycon::ControllerType::Dual: |
| 674 | return "Dual Joycon"; | 672 | return "Dual Joycon"; |
| 675 | default: | 673 | default: |
| 676 | return "Unknown Joycon"; | 674 | return "Unknown Switch Controller"; |
| 677 | } | 675 | } |
| 678 | } | 676 | } |
| 679 | } // namespace InputCommon | 677 | } // namespace InputCommon |