From 4efa24ebed4a69657cc16ff008b9e943356f9e19 Mon Sep 17 00:00:00 2001 From: Sixze <16257871+Sixze@users.noreply.github.com> Date: Sat, 9 Sep 2023 14:44:28 +0300 Subject: [PATCH 1/4] Increase engine version to 5.3.0 --- BuildPlugin.bat | 2 +- FabulousDualSense.uplugin | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/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, From 022fa7eceb6fb3f3d8694eb2e76ea7c3074fc9a7 Mon Sep 17 00:00:00 2001 From: Sixze <16257871+Sixze@users.noreply.github.com> Date: Sat, 9 Sep 2023 15:36:58 +0300 Subject: [PATCH 2/4] Set IncludeOrderVersion to EngineIncludeOrderVersion.Unreal5_3 --- Source/FabulousDualSense/FabulousDualSense.Build.cs | 2 +- Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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..afcbbde 100644 --- a/Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs +++ b/Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs @@ -6,7 +6,7 @@ public class DualSenseWindows : ModuleRules public DualSenseWindows(ReadOnlyTargetRules Target) : base(Target) { Type = ModuleType.External; - IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2; + IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_3; bEnableNonInlinedGenCppWarnings = true; From 34ce9860cef809b73f0cfdb1b9dde2037c0cf0cf Mon Sep 17 00:00:00 2001 From: Sixze <16257871+Sixze@users.noreply.github.com> Date: Mon, 11 Sep 2023 19:59:35 +0300 Subject: [PATCH 3/4] Update .ini files --- Config/Input.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From d5bec3171d81e59050dc4fa9ea8e238a6f796a45 Mon Sep 17 00:00:00 2001 From: Sixze <16257871+Sixze@users.noreply.github.com> Date: Thu, 14 Sep 2023 20:06:19 +0300 Subject: [PATCH 4/4] Update .Build.cs files --- .../DualSenseWindows/DualSenseWindows.Build.cs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs b/Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs index afcbbde..4a9634c 100644 --- a/Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs +++ b/Source/ThirdParty/DualSenseWindows/DualSenseWindows.Build.cs @@ -10,15 +10,12 @@ public DualSenseWindows(ReadOnlyTargetRules Target) : base(Target) 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