summaryrefslogtreecommitdiff
path: root/src/yuzu/util/overlay_dialog.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-09-20 20:50:32 -0500
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-24 20:30:24 -0600
commit1b82d5bb4f9440603e7af0af6abed7968aef37e4 (patch)
treec3115732bad334e652ee138e8edb559a1a2decce /src/yuzu/util/overlay_dialog.h
parent510c7d29537f4d17ec5751b981729e1bf66fe44c (diff)
yuzu: Update overlay applet
Diffstat (limited to 'src/yuzu/util/overlay_dialog.h')
-rw-r--r--src/yuzu/util/overlay_dialog.h10
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();