You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#preflight 628cb13af237058787bb0357 #jira UE-149794 #rnx #rb Jeff.Fisher [CL 20361216 by David Harvey in ue5-main branch]
22 lines
625 B
C#
22 lines
625 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
using UnrealBuildTool;
|
|
|
|
public class XInput : ModuleRules
|
|
{
|
|
protected string DirectXSDKDir { get => Target.UEThirdPartySourceDirectory + "Windows/DirectX"; }
|
|
|
|
public XInput(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
// Ensure correct include and link paths for xinput so the correct dll is loaded (xinput1_3.dll)
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
PublicAdditionalLibraries.Add(DirectXSDKDir + "/Lib/x64/XInput.lib");
|
|
PublicSystemIncludePaths.Add(DirectXSDKDir + "/include");
|
|
}
|
|
}
|
|
}
|
|
|