diff options
| author | 2023-06-28 00:20:38 -0600 | |
|---|---|---|
| committer | 2023-06-28 09:49:47 -0600 | |
| commit | df9685a21c105962e90dbd95133c5a1bcef7886f (patch) | |
| tree | acfd98ca20286dca669077b165943f6c4af711a6 /src/input_common/drivers/joycon.h | |
| parent | Merge pull request #10933 from merryhime/dunno (diff) | |
| download | yuzu-df9685a21c105962e90dbd95133c5a1bcef7886f.tar.gz yuzu-df9685a21c105962e90dbd95133c5a1bcef7886f.tar.xz yuzu-df9685a21c105962e90dbd95133c5a1bcef7886f.zip | |
input_common: Remove duplicated DriverResult enum
Diffstat (limited to 'src/input_common/drivers/joycon.h')
| -rw-r--r-- | src/input_common/drivers/joycon.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_common/drivers/joycon.h b/src/input_common/drivers/joycon.h index 4c323d7d6..112e970e1 100644 --- a/src/input_common/drivers/joycon.h +++ b/src/input_common/drivers/joycon.h | |||
| @@ -17,7 +17,6 @@ struct Color; | |||
| 17 | struct MotionData; | 17 | struct MotionData; |
| 18 | struct TagInfo; | 18 | struct TagInfo; |
| 19 | enum class ControllerType : u8; | 19 | enum class ControllerType : u8; |
| 20 | enum class DriverResult; | ||
| 21 | enum class IrsResolution; | 20 | enum class IrsResolution; |
| 22 | class JoyconDriver; | 21 | class JoyconDriver; |
| 23 | } // namespace InputCommon::Joycon | 22 | } // namespace InputCommon::Joycon |
| @@ -112,7 +111,7 @@ private: | |||
| 112 | /// Returns the name of the device in text format | 111 | /// Returns the name of the device in text format |
| 113 | std::string JoyconName(Joycon::ControllerType type) const; | 112 | std::string JoyconName(Joycon::ControllerType type) const; |
| 114 | 113 | ||
| 115 | Common::Input::NfcState TranslateDriverResult(Joycon::DriverResult result) const; | 114 | Common::Input::NfcState TranslateDriverResult(Common::Input::DriverResult result) const; |
| 116 | 115 | ||
| 117 | std::jthread scan_thread; | 116 | std::jthread scan_thread; |
| 118 | 117 | ||