From 29e84cec80d612863b2e78296cbbb5278bc656b6 Mon Sep 17 00:00:00 2001 From: Kevin Poretti Date: Sat, 10 Jun 2023 13:57:51 -0400 Subject: [PATCH] Include enhanced input --- Source/UnrealFightingEngine/Input/FEPlayerController.h | 4 ++++ Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Source/UnrealFightingEngine/Input/FEPlayerController.h b/Source/UnrealFightingEngine/Input/FEPlayerController.h index ee6d711..d946da7 100644 --- a/Source/UnrealFightingEngine/Input/FEPlayerController.h +++ b/Source/UnrealFightingEngine/Input/FEPlayerController.h @@ -30,6 +30,10 @@ public: // End of APlayerController interface protected: + /** MappingContext */ + UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UFE|Input", meta = (AllowPrivateAccess = "true")) + class UInputMappingContext* DefaultMappingContext; + /** Input Buffer component */ UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "UFE|Input", meta = (AllowPrivateAccess = "true")) UFEInputBufferComponent* InputBuffer; diff --git a/Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs b/Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs index 49e3e54..29ab61e 100644 --- a/Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs +++ b/Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs @@ -1,4 +1,4 @@ -// Some copyright should be here... +// Unreal Fighting Engine by Kevin Poretti using UnrealBuildTool; @@ -26,6 +26,7 @@ public class UnrealFightingEngine : ModuleRules new string[] { "Core", + "EnhancedInput", // ... add other public dependencies that you statically link with here ... } ); @@ -36,8 +37,6 @@ public class UnrealFightingEngine : ModuleRules { "CoreUObject", "Engine", - "Slate", - "SlateCore", // ... add private dependencies that you statically link with here ... } );