2020-12-05 13:08:24 +01:00
|
|
|
#pragma once
|
2020-10-04 22:46:28 +02:00
|
|
|
|
2020-12-22 09:42:57 +01:00
|
|
|
#include "util/atomic.hpp"
|
|
|
|
|
|
2020-10-04 22:46:28 +02:00
|
|
|
namespace input
|
|
|
|
|
{
|
2022-04-19 20:27:32 +02:00
|
|
|
extern atomic_t<bool> g_pads_intercepted;
|
|
|
|
|
extern atomic_t<bool> g_keyboards_intercepted;
|
|
|
|
|
extern atomic_t<bool> g_mice_intercepted;
|
2020-10-04 22:46:28 +02:00
|
|
|
|
2022-04-26 00:15:27 +02:00
|
|
|
void SetIntercepted(bool pads_intercepted, bool keyboards_intercepted, bool mice_intercepted, const char* func = __builtin_FUNCTION());
|
|
|
|
|
void SetIntercepted(bool all_intercepted, const char* func = __builtin_FUNCTION());
|
2020-10-04 22:46:28 +02:00
|
|
|
}
|