#include "stdafx.h" #include "interception.h" #include "KeyboardHandler.h" #include "MouseHandler.h" #include "Input/pad_thread.h" #include "Emu/IdManager.h" namespace input { std::atomic g_intercepted{false}; void SetIntercepted(bool intercepted) { g_intercepted = intercepted; pad::SetIntercepted(intercepted); if (const auto handler = g_fxo->get()) { handler->SetIntercepted(intercepted); } if (const auto handler = g_fxo->get()) { handler->SetIntercepted(intercepted); } } }