option to enable/disable background input

This commit is contained in:
thecozies
2024-04-21 17:33:09 -05:00
parent c06889c3bb
commit 8fbb7b6025
5 changed files with 88 additions and 0 deletions
+14
View File
@@ -143,6 +143,20 @@ namespace recomp {
TargetingMode get_targeting_mode();
void set_targeting_mode(TargetingMode mode);
enum class BackgroundInputMode {
On,
Off,
OptionCount
};
NLOHMANN_JSON_SERIALIZE_ENUM(recomp::BackgroundInputMode, {
{recomp::BackgroundInputMode::On, "On"},
{recomp::BackgroundInputMode::Off, "Off"}
});
BackgroundInputMode get_background_input_mode();
void set_background_input_mode(BackgroundInputMode mode);
bool game_input_disabled();
bool all_input_disabled();