diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-27 23:26:51 -0600 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-12-02 15:17:44 -0600 |
commit | 5ba7b11ba49ecba530612248286482f94799672c (patch) | |
tree | 16439df3a2c0d1f1169e45cefea492572413f6ba /src/yuzu/game_list.h | |
parent | 46e3ed5a483eac404ff1e2103ecc4e93e815d45b (diff) |
yuzu: Implement basic controller navigation
Diffstat (limited to 'src/yuzu/game_list.h')
-rw-r--r-- | src/yuzu/game_list.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h index 675469e66..a94ea1477 100644 --- a/src/yuzu/game_list.h +++ b/src/yuzu/game_list.h @@ -24,6 +24,7 @@ #include "uisettings.h" #include "yuzu/compatibility_list.h" +class ControllerNavigation; class GameListWorker; class GameListSearchField; class GameListDir; @@ -88,6 +89,9 @@ public: void SaveInterfaceLayout(); void LoadInterfaceLayout(); + /// Disables events from the emulated controller + void UnloadController(); + static const QStringList supported_file_extensions; signals: @@ -143,6 +147,7 @@ private: QStandardItemModel* item_model = nullptr; GameListWorker* current_worker = nullptr; QFileSystemWatcher* watcher = nullptr; + ControllerNavigation* controller_navigation = nullptr; CompatibilityList compatibility_list; friend class GameListSearchField; |