diff --git a/BuildPlugin.bat b/BuildPlugin.bat index 8435774..d32508f 100644 --- a/BuildPlugin.bat +++ b/BuildPlugin.bat @@ -1,6 +1,6 @@ @echo off -set EngineVesion=5.2 +set EngineVesion=5.3 for /f "skip=2 tokens=2*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\EpicGames\Unreal Engine\%EngineVesion%" /v "InstalledDirectory"') do set "EngineDirectory=%%b" diff --git a/Config/Input.ini b/Config/Input.ini index 2a93d99..442debc 100644 --- a/Config/Input.ini +++ b/Config/Input.ini @@ -1,2 +1,2 @@ [InputPlatformSettings_Windows InputPlatformSettings] -+HardwareDevices=(InputClassName="DsInputDevice",HardwareDeviceIdentifier="DualSense") ++HardwareDevices=(InputClassName="DsInputDevice",HardwareDeviceIdentifier="DualSense",PrimaryDeviceType=Gamepad,SupportedFeaturesMask=462) diff --git a/FabulousDualSense.uplugin b/FabulousDualSense.uplugin index fc387e3..bd0aebf 100644 --- a/FabulousDualSense.uplugin +++ b/FabulousDualSense.uplugin @@ -10,7 +10,7 @@ "DocsURL": "https://github.com/Sixze/FabulousDualSense", "MarketplaceURL": "", "SupportURL": "https://github.com/Sixze/FabulousDualSense/discussions", - "EngineVersion": "5.2.0", + "EngineVersion": "5.3.0", "EnabledByDefault": true, "CanContainContent": false, "IsBetaVersion": false, diff --git a/Source/FabulousDualSense/FabulousDualSense.Build.cs b/Source/FabulousDualSense/FabulousDualSense.Build.cs index ec27dbf..98bcc92 100644 --- a/Source/FabulousDualSense/FabulousDualSense.Build.cs +++ b/Source/FabulousDualSense/FabulousDualSense.Build.cs @@ -5,7 +5,7 @@ public class FabulousDualSense : ModuleRules public FabulousDualSense(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; - IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2; + IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_3; bEnableNonInlinedGenCppWarnings = true; diff --git a/Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs b/Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs index 5db3d2e..4a9634c 100644 --- a/Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs +++ b/Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs @@ -6,19 +6,16 @@ public class DualSenseWindows : ModuleRules public DualSenseWindows(ReadOnlyTargetRules Target) : base(Target) { Type = ModuleType.External; - IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2; + IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_3; bEnableNonInlinedGenCppWarnings = true; - if (Target.Platform == UnrealTargetPlatform.Win64) - { - PublicDefinitions.Add("DS5W_USE_LIB"); + PublicDefinitions.Add("DS5W_USE_LIB"); - PublicSystemIncludePaths.Add(Path.Combine(ModuleDirectory, "include")); + PublicSystemIncludePaths.Add(Path.Combine(ModuleDirectory, "include")); - PublicSystemLibraries.Add("hid.lib"); + PublicSystemLibraries.Add("hid.lib"); - PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "lib", "ds5w_x64.lib")); - } + PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "lib", "ds5w_x64.lib")); } } \ No newline at end of file