diff options
author | german77 <juangerman-13@hotmail.com> | 2021-09-20 20:19:28 -0500 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:23 -0600 |
commit | 8fff6d6c67dbdaed8be639b0daeb9afdf8e53d59 (patch) | |
tree | c2081b25cc641cc64038a01570283b82b03b6c3b /src/yuzu/applets/qt_software_keyboard.h | |
parent | 6e2c84042d296272a2186feac67678c19fdb122b (diff) |
Qt_applets: Use new input
Diffstat (limited to 'src/yuzu/applets/qt_software_keyboard.h')
-rw-r--r-- | src/yuzu/applets/qt_software_keyboard.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/yuzu/applets/qt_software_keyboard.h b/src/yuzu/applets/qt_software_keyboard.h index 592d9c085..b030cdcf7 100644 --- a/src/yuzu/applets/qt_software_keyboard.h +++ b/src/yuzu/applets/qt_software_keyboard.h @@ -14,14 +14,16 @@ #include "core/frontend/applets/software_keyboard.h" -enum class HIDButton : u8; - class InputInterpreter; namespace Core { class System; } +namespace Core::HID { +enum class NpadButton : u64; +} + namespace Ui { class QtSoftwareKeyboardDialog; } @@ -146,7 +148,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(); /** @@ -154,7 +156,7 @@ private: * * @tparam HIDButton The list of buttons that can be converted into keyboard input. */ - template <HIDButton... T> + template <Core::HID::NpadButton... T> void HandleButtonHold(); /** @@ -162,7 +164,7 @@ private: * * @param button The button press to process. */ - void TranslateButtonPress(HIDButton button); + void TranslateButtonPress(Core::HID::NpadButton button); /** * Moves the focus of a button in a certain direction. |