mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
Core: Add WiimoteCommon headers to the VS project
This commit is contained in:
parent
8f460a1cda
commit
b003108b8b
@ -415,6 +415,9 @@
|
|||||||
<ClInclude Include="HW\SystemTimers.h" />
|
<ClInclude Include="HW\SystemTimers.h" />
|
||||||
<ClInclude Include="HW\VideoInterface.h" />
|
<ClInclude Include="HW\VideoInterface.h" />
|
||||||
<ClInclude Include="HW\Wiimote.h" />
|
<ClInclude Include="HW\Wiimote.h" />
|
||||||
|
<ClInclude Include="HW\WiimoteCommon\WiimoteConstants.h" />
|
||||||
|
<ClInclude Include="HW\WiimoteCommon\WiimoteHid.h" />
|
||||||
|
<ClInclude Include="HW\WiimoteCommon\WiimoteReport.h" />
|
||||||
<ClInclude Include="HW\WiimoteEmu\Attachment\Attachment.h" />
|
<ClInclude Include="HW\WiimoteEmu\Attachment\Attachment.h" />
|
||||||
<ClInclude Include="HW\WiimoteEmu\Attachment\Classic.h" />
|
<ClInclude Include="HW\WiimoteEmu\Attachment\Classic.h" />
|
||||||
<ClInclude Include="HW\WiimoteEmu\Attachment\Drums.h" />
|
<ClInclude Include="HW\WiimoteEmu\Attachment\Drums.h" />
|
||||||
|
@ -160,6 +160,9 @@
|
|||||||
<Filter Include="PowerPC\SignatureDB">
|
<Filter Include="PowerPC\SignatureDB">
|
||||||
<UniqueIdentifier>{f0b52c84-49f4-470a-b037-edeea5634b9e}</UniqueIdentifier>
|
<UniqueIdentifier>{f0b52c84-49f4-470a-b037-edeea5634b9e}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="HW %28Flipper/Hollywood%29\WiimoteCommon">
|
||||||
|
<UniqueIdentifier>{ee6645da-3ad9-4fe7-809f-e4646d0b0ca5}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="BootManager.cpp" />
|
<ClCompile Include="BootManager.cpp" />
|
||||||
@ -1526,6 +1529,15 @@
|
|||||||
<ClInclude Include="IOS\Network\NCD\WiiNetConfig.h">
|
<ClInclude Include="IOS\Network\NCD\WiiNetConfig.h">
|
||||||
<Filter>IOS\Network\NCD</Filter>
|
<Filter>IOS\Network\NCD</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="HW\WiimoteCommon\WiimoteConstants.h">
|
||||||
|
<Filter>HW %28Flipper/Hollywood%29\WiimoteCommon</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="HW\WiimoteCommon\WiimoteHid.h">
|
||||||
|
<Filter>HW %28Flipper/Hollywood%29\WiimoteCommon</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="HW\WiimoteCommon\WiimoteReport.h">
|
||||||
|
<Filter>HW %28Flipper/Hollywood%29\WiimoteCommon</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Text Include="CMakeLists.txt" />
|
<Text Include="CMakeLists.txt" />
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
|
|
||||||
// what is this ?
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
#pragma warning(disable : 4200)
|
#pragma warning(disable : 4200)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -32,3 +32,7 @@ constexpr u8 HID_PARAM_INPUT = 1;
|
|||||||
constexpr u8 HID_PARAM_OUTPUT = 2;
|
constexpr u8 HID_PARAM_OUTPUT = 2;
|
||||||
|
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
@ -8,6 +8,11 @@
|
|||||||
|
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable : 4200)
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef std::vector<u8> Report;
|
typedef std::vector<u8> Report;
|
||||||
|
|
||||||
// Report defines
|
// Report defines
|
||||||
@ -498,3 +503,7 @@ struct wm_speaker_data
|
|||||||
};
|
};
|
||||||
static_assert(sizeof(wm_speaker_data) == 21, "Wrong size");
|
static_assert(sizeof(wm_speaker_data) == 21, "Wrong size");
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user