mirror of
https://github.com/nefarius/ViGEmBus.git
synced 2025-08-10 00:52:17 +00:00
Fixed include
Removed ununsed code
This commit is contained in:
@@ -1,49 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <ntddk.h>
|
||||
#include <wdf.h>
|
||||
#include <ntintsafe.h>
|
||||
|
||||
//
|
||||
// Used to identify children in the device list of the bus.
|
||||
//
|
||||
typedef struct _PDO_IDENTIFICATION_DESCRIPTION
|
||||
{
|
||||
WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER Header; // should contain this header
|
||||
|
||||
//
|
||||
// Unique serial number of the device on the bus
|
||||
//
|
||||
ULONG SerialNo;
|
||||
|
||||
//
|
||||
// PID of the process creating this PDO
|
||||
//
|
||||
DWORD OwnerProcessId;
|
||||
|
||||
//
|
||||
// Device type this PDO is emulating
|
||||
//
|
||||
VIGEM_TARGET_TYPE TargetType;
|
||||
|
||||
//
|
||||
// If set, the vendor ID the emulated device is reporting
|
||||
//
|
||||
USHORT VendorId;
|
||||
|
||||
//
|
||||
// If set, the product ID the emulated device is reporting
|
||||
//
|
||||
USHORT ProductId;
|
||||
|
||||
//
|
||||
// Is the current device owner another driver?
|
||||
//
|
||||
BOOLEAN OwnerIsDriver;
|
||||
|
||||
//
|
||||
// SessionId associated with file handle. Used to map file handles to emulated gamepad devices
|
||||
//
|
||||
LONG SessionId;
|
||||
|
||||
} PDO_IDENTIFICATION_DESCRIPTION, * PPDO_IDENTIFICATION_DESCRIPTION;
|
||||
@@ -5,7 +5,6 @@
|
||||
#include <ntstrsafe.h>
|
||||
#include <hidclass.h>
|
||||
|
||||
#include "Ds4.h"
|
||||
|
||||
|
||||
PCWSTR ViGEm::Bus::Targets::EmulationTargetDS4::_deviceDescription = L"Virtual DualShock 4 Controller";
|
||||
|
||||
@@ -188,7 +188,6 @@
|
||||
<ClInclude Include="$(SolutionDir)\Include\ViGEmBusDriver.h" />
|
||||
<ClInclude Include="..\client\include\ViGEm\km\BusShared.h" />
|
||||
<ClInclude Include="busenum.h" />
|
||||
<ClInclude Include="BusFdoPdoCommon.hpp" />
|
||||
<ClInclude Include="ByteArray.h" />
|
||||
<ClInclude Include="Context.h" />
|
||||
<ClInclude Include="CRTCPP.hpp" />
|
||||
|
||||
@@ -84,9 +84,6 @@
|
||||
<ClInclude Include="Ds4Pdo.hpp">
|
||||
<Filter>Header Files\Targets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="BusFdoPdoCommon.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="busenum.c">
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "EmulationTargetPDO.hpp"
|
||||
#include <ViGEm/km/BusShared.h>
|
||||
|
||||
namespace ViGEm::Bus::Targets
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user