Core: Add WiimoteCommon headers to the VS project

This commit is contained in:
Lioncash 2017-06-08 01:55:01 -04:00
parent 8f460a1cda
commit b003108b8b
4 changed files with 29 additions and 1 deletions

View File

@ -415,6 +415,9 @@
<ClInclude Include="HW\SystemTimers.h" />
<ClInclude Include="HW\VideoInterface.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\Classic.h" />
<ClInclude Include="HW\WiimoteEmu\Attachment\Drums.h" />

View File

@ -160,6 +160,9 @@
<Filter Include="PowerPC\SignatureDB">
<UniqueIdentifier>{f0b52c84-49f4-470a-b037-edeea5634b9e}</UniqueIdentifier>
</Filter>
<Filter Include="HW %28Flipper/Hollywood%29\WiimoteCommon">
<UniqueIdentifier>{ee6645da-3ad9-4fe7-809f-e4646d0b0ca5}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="BootManager.cpp" />
@ -1526,6 +1529,15 @@
<ClInclude Include="IOS\Network\NCD\WiiNetConfig.h">
<Filter>IOS\Network\NCD</Filter>
</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>
<Text Include="CMakeLists.txt" />

View File

@ -6,8 +6,8 @@
#include "Common/CommonTypes.h"
// what is this ?
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4200)
#endif
@ -32,3 +32,7 @@ constexpr u8 HID_PARAM_INPUT = 1;
constexpr u8 HID_PARAM_OUTPUT = 2;
#pragma pack(pop)
#ifdef _MSC_VER
#pragma warning(pop)
#endif

View File

@ -8,6 +8,11 @@
#include "Common/CommonTypes.h"
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4200)
#endif
typedef std::vector<u8> Report;
// Report defines
@ -498,3 +503,7 @@ struct wm_speaker_data
};
static_assert(sizeof(wm_speaker_data) == 21, "Wrong size");
#pragma pack(pop)
#ifdef _MSC_VER
#pragma warning(pop)
#endif