diff options
author | Mai M <mathew1800@gmail.com> | 2021-11-21 23:17:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 23:17:07 -0500 |
commit | ee76b546d43e1f24d65bcb86083a725da65f5295 (patch) | |
tree | 17c3448cf8efbe369e9740064dcca25de12e7544 /src/yuzu/bootmanager.h | |
parent | be238fb26a705c6ba0cc9380ce4c139d5ded2b9b (diff) | |
parent | 097de2febcf97da38c55235073eff834c529acac (diff) |
Merge pull request #7406 from heinermann/tas_menu
Added TAS controls to the menu under Tools
Diffstat (limited to 'src/yuzu/bootmanager.h')
-rw-r--r-- | src/yuzu/bootmanager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h index 40fd4a9d6..061e3605f 100644 --- a/src/yuzu/bootmanager.h +++ b/src/yuzu/bootmanager.h @@ -41,6 +41,10 @@ enum class LoadCallbackStage; class RendererBase; } // namespace VideoCore +namespace TasInput { +enum class TasState; +} + class EmuThread final : public QThread { Q_OBJECT @@ -203,6 +207,7 @@ signals: void ExecuteProgramSignal(std::size_t program_index); void ExitSignal(); void MouseActivity(); + void TasPlaybackStateChanged(); private: void TouchBeginEvent(const QTouchEvent* event); @@ -236,6 +241,7 @@ private: QWidget* child_widget = nullptr; bool first_frame = false; + TasInput::TasState last_tas_state; std::array<std::size_t, 16> touch_ids{}; |