You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-144959 #rb phillip.kavan #rb David.Hibbitts #preflight 62326190f97ce4a8038a4f3a [CL 19425960 by ben hoffman in ue5-main branch]
44 lines
1.4 KiB
C++
44 lines
1.4 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "EnhancedInputEditorSettings.h"
|
|
#include "EnhancedPlayerInput.h"
|
|
#include "InputMappingContext.h"
|
|
#include "EnhancedInputEditorSubsystem.h"
|
|
#include "Editor.h"
|
|
|
|
namespace UE::EnhancedInput::Private
|
|
{
|
|
namespace ConsoleVariables
|
|
{
|
|
static bool bShouldLogAllInputs = false;
|
|
static FAutoConsoleVariableRef CVarShouldLogAllInputs(
|
|
TEXT("EnhancedEditorInput.bShouldLogAllInputs"),
|
|
bShouldLogAllInputs,
|
|
TEXT("Should each InputKey call be logged?"),
|
|
ECVF_Default);
|
|
|
|
static bool bAutomaticallyStartConsumingInput = false;
|
|
static FAutoConsoleVariableRef CVarAutomaticallyStartConsumingInput(
|
|
TEXT("EnhancedEditorInput.bAutomaticallyStartConsumingInput"),
|
|
bAutomaticallyStartConsumingInput,
|
|
TEXT("Should the UEnhancedInputEditorSubsystem be started as soon as it is inialized?"),
|
|
ECVF_Default);
|
|
}
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////////
|
|
// UEnhancedInputEditorProjectSettings
|
|
UEnhancedInputEditorProjectSettings::UEnhancedInputEditorProjectSettings(const FObjectInitializer& Initializer)
|
|
: Super(Initializer)
|
|
, DefaultEditorInputClass(UEnhancedPlayerInput::StaticClass())
|
|
{
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////////
|
|
// UEnhancedInputEditorSettings
|
|
UEnhancedInputEditorSettings::UEnhancedInputEditorSettings()
|
|
: bLogAllInput(false)
|
|
, bAutomaticallyStartConsumingInput(false)
|
|
{
|
|
}
|