diff options
| author | Fernando S <fsahmkow27@gmail.com> | 2021-11-27 11:52:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-27 11:52:08 +0100 |
| commit | 564f10527745f870621c08bbb5d16badee0ed861 (patch) | |
| tree | e8ac8dee60086facf1837393882865f5df18c95e /src/yuzu/util/overlay_dialog.h | |
| parent | 157985f55616c39c5605168f4e6cf50fd7384320 (diff) | |
| parent | 182cd9004f75df21979d0edd47910fecbd129b63 (diff) | |
Merge pull request #7255 from german77/kraken
Project Kraken: Input rewrite
Diffstat (limited to 'src/yuzu/util/overlay_dialog.h')
| -rw-r--r-- | src/yuzu/util/overlay_dialog.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/yuzu/util/overlay_dialog.h b/src/yuzu/util/overlay_dialog.h index e8c388bd0..d8a140ff3 100644 --- a/src/yuzu/util/overlay_dialog.h +++ b/src/yuzu/util/overlay_dialog.h @@ -13,14 +13,16 @@ #include "common/common_types.h" -enum class HIDButton : u8; - class InputInterpreter; namespace Core { class System; } +namespace Core::HID { +enum class NpadButton : u64; +} + namespace Ui { class OverlayDialog; } @@ -79,7 +81,7 @@ private: * * @tparam HIDButton The list of buttons that can be converted into keyboard input. */ - template <HIDButton... T> + template <Core::HID::NpadButton... T> void HandleButtonPressedOnce(); /** @@ -87,7 +89,7 @@ private: * * @param button The button press to process. */ - void TranslateButtonPress(HIDButton button); + void TranslateButtonPress(Core::HID::NpadButton button); void StartInputThread(); void StopInputThread(); |
