mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 15:41:49 +01:00
Change name of compilation symbol
This commit is contained in:
parent
09a7cd8288
commit
17a1e895eb
@ -87,7 +87,7 @@
|
|||||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<DefineConstants>PLATFORM_X64</DefineConstants>
|
<DefineConstants>WIN64</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
@ -492,7 +492,7 @@ namespace DS4Windows
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
byte[] buffer = new byte[126];
|
byte[] buffer = new byte[126];
|
||||||
#if PLATFORM_X64
|
#if WIN64
|
||||||
ulong bufferLen = 126;
|
ulong bufferLen = 126;
|
||||||
#else
|
#else
|
||||||
uint bufferLen = 126;
|
uint bufferLen = 126;
|
||||||
|
@ -391,7 +391,7 @@ namespace DS4Windows
|
|||||||
[DllImport("hid.dll")]
|
[DllImport("hid.dll")]
|
||||||
static internal extern int HidP_GetValueCaps(short reportType, ref byte valueCaps, ref short valueCapsLength, IntPtr preparsedData);
|
static internal extern int HidP_GetValueCaps(short reportType, ref byte valueCaps, ref short valueCapsLength, IntPtr preparsedData);
|
||||||
|
|
||||||
#if PLATFORM_X64
|
#if WIN64
|
||||||
[DllImport("hid.dll")]
|
[DllImport("hid.dll")]
|
||||||
static internal extern bool HidD_GetSerialNumberString(IntPtr HidDeviceObject, byte[] Buffer, ulong BufferLength);
|
static internal extern bool HidD_GetSerialNumberString(IntPtr HidDeviceObject, byte[] Buffer, ulong BufferLength);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user