input_common: joycon: Fill missing enum data

This commit is contained in:
Narr the Reg 2023-01-27 20:35:51 -06:00 committed by german77
parent 07cefe9062
commit 11fea5deea
6 changed files with 53 additions and 41 deletions

View file

@ -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

View file

@ -15,7 +15,7 @@ using SerialNumber = std::array<u8, 15>;
struct Battery;
struct Color;
struct MotionData;
enum class ControllerType;
enum class ControllerType : u8;
enum class DriverResult;
enum class IrsResolution;
class JoyconDriver;