diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-01-30 09:02:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 09:02:12 -0500 |
commit | e74660673b68e7226b7e934efe5eac620f7a98e6 (patch) | |
tree | 355def233607668733581b2b5194d0e54e1b7995 /src/input_common/drivers/joycon.cpp | |
parent | 9de88cb5a75f4a2ed0c32c37e964330a00811bda (diff) | |
parent | c318a4c80b4b6eef9f8020f452573ef5c80f6716 (diff) |
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 { return "Right Joycon"; case Joycon::ControllerType::Pro: return "Pro Controller"; - case Joycon::ControllerType::Grip: - return "Grip Controller"; case Joycon::ControllerType::Dual: return "Dual Joycon"; default: - return "Unknown Joycon"; + return "Unknown Switch Controller"; } } } // namespace InputCommon |