Enhanced Input System

From Unreal Wiki
Revision as of 19:30, 2 May 2025 by Unreal583 (talk | contribs)
Jump to navigation Jump to search


The Enchant Input System is unreal's modern way to handle user input, instead of using the .ini files.
It features remapping, and abstraction of Direction which makes the keyboard act more like a joystick.
WASD movement, becomes 2D(X Positive and negative and Y positive and negative) for a total of four direction.

1. Enable the plugin if not already(Unreal 5.2+ example have it enabled already)

2. If using c++ You must also include it in your Source\<project_name>\<project_name>.Build.cs


using UnrealBuildTool;

public class inino0 : ModuleRules
{
	public inino0(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

		PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay", "EnhancedInput","UMG","GameplayAbilities" });
	}
}