mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
Add imgui-based Netplay Chat
This commit is contained in:
parent
8cfbbbe9dc
commit
7cfb626a83
11 changed files with 184 additions and 22 deletions
|
@ -8,6 +8,8 @@
|
|||
#include <QApplication>
|
||||
#include <QProgressDialog>
|
||||
|
||||
#include <imgui.h>
|
||||
|
||||
#include "Common/Common.h"
|
||||
|
||||
#include "Core/ConfigManager.h"
|
||||
|
@ -149,7 +151,8 @@ void Host_RequestRenderWindowSize(int w, int h)
|
|||
|
||||
bool Host_UINeedsControllerState()
|
||||
{
|
||||
return Settings::Instance().IsControllerStateNeeded();
|
||||
return Settings::Instance().IsControllerStateNeeded() ||
|
||||
(ImGui::GetCurrentContext() && ImGui::GetIO().WantCaptureKeyboard);
|
||||
}
|
||||
|
||||
bool Host_UIBlocksControllerState()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue