You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
26 lines
734 B
C#
26 lines
734 B
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
using UnrealBuildTool;
|
|
|
|
public class XInput : ModuleRules
|
|
{
|
|
public XInput(TargetInfo Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
string DirectXSDKDir = UEBuildConfiguration.UEThirdPartySourceDirectory + "Windows/DirectX";
|
|
|
|
// Ensure correct include and link paths for xinput so the correct dll is loaded (xinput1_3.dll)
|
|
PublicSystemIncludePaths.Add(DirectXSDKDir + "/include");
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
PublicLibraryPaths.Add(DirectXSDKDir + "/Lib/x64");
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.Win32)
|
|
{
|
|
PublicLibraryPaths.Add(DirectXSDKDir + "/Lib/x86");
|
|
}
|
|
PublicAdditionalLibraries.Add("XInput.lib");
|
|
}
|
|
}
|
|
|