mirror of
https://github.com/DarthAffe/RGB.NET-Resources
synced 2026-11-09 12:06:27 +00:00
Moved asus-package to legacy-project and added new asus-pakcge without old sdk-libs
This commit is contained in:
1 parent
06b25237a5
commit
a4b47ec403
16 files changed
+295
-2
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>RGB.NET.Resources.Asus_Legacy</id>
|
||||
<title>RGB.NET.Resources.Asus_Legacy</title>
|
||||
<version>0.1.0.0</version>
|
||||
<authors>Darth Affe</authors>
|
||||
<owners>Darth Affe</owners>
|
||||
<iconUrl>http://lib.arge.be/icon_package.png</iconUrl>
|
||||
<projectUrl>https://github.com/DarthAffe/RGB.NET-Resources</projectUrl>
|
||||
<licenseUrl>https://github.com/DarthAffe/RGB.NET-Resources/master/LICENSE</licenseUrl>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<description>Resources for Asus-Devices of RGB.NET (using the v2-SDK)</description>
|
||||
<releaseNotes></releaseNotes>
|
||||
<summary>Resources for Asus-Devices of RGB.NET, a C# (.NET) library for accessing various RGB-peripherals</summary>
|
||||
<copyright>Copyright @ Wyrez 2018</copyright>
|
||||
<language>en-US</language>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="Images\**\*.*" target="build\resources\Images\Asus\" />
|
||||
<file src="Layouts\**\*.*" target="build\resources\Layouts\Asus\" />
|
||||
<file src="libs\**\*.*" target="build\libs\" />
|
||||
<file src="targets\*.targets" target="build\" />
|
||||
</files>
|
||||
</package>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 773 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 68 B |
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified">
|
||||
<xsd:element name="Device">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Name" type="xsd:string" />
|
||||
<xsd:element name="Description" type="xsd:string" />
|
||||
<xsd:element name="Author" type="xsd:string" />
|
||||
<xsd:element name="Type" type="xsd:string" />
|
||||
<xsd:element name="Lighting" type="xsd:string" />
|
||||
<xsd:element name="Vendor" type="xsd:string" />
|
||||
<xsd:element name="Model" type="xsd:string" />
|
||||
<xsd:element name="Shape" type="xsd:string" />
|
||||
<xsd:element name="Width" type="xsd:double" />
|
||||
<xsd:element name="Height" type="xsd:double" />
|
||||
<xsd:element name="ImageBasePath" type="xsd:string" />
|
||||
<xsd:element name="DeviceImage" type="xsd:string" />
|
||||
<xsd:element name="LedUnitWidth" type="xsd:double" />
|
||||
<xsd:element name="LedUnitHeight" type="xsd:double" />
|
||||
<xsd:element name="Leds">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element maxOccurs="unbounded" name="Led">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Shape" type="xsd:string" />
|
||||
<xsd:element name="X" type="xsd:string" />
|
||||
<xsd:element name="Y" type="xsd:string" />
|
||||
<xsd:element name="Width" type="xsd:string" />
|
||||
<xsd:element name="Height" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="Id" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="LedImageLayouts">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element maxOccurs="unbounded" name="LedImageLayout">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="LedImages">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element maxOccurs="unbounded" name="LedImage">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="Id" type="xsd:string" use="required" />
|
||||
<xsd:attribute name="Image" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="Layout" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>Asus Prime X370-PRO</Name>
|
||||
<Description>Asus Prime X370-PRO Mainboard</Description>
|
||||
<Author>Darth Affe</Author>
|
||||
<Type>Mainboard</Type>
|
||||
<Lighting>Key</Lighting>
|
||||
<Vendor>Asus</Vendor>
|
||||
<Model>Prime X370-PRO</Model>
|
||||
<Width>252</Width>
|
||||
<Height>305</Height>
|
||||
<ImageBasePath>Images\Asus\Mainboards</ImageBasePath>
|
||||
<DeviceImage>PRIMEX370-PRO.png</DeviceImage>
|
||||
<Leds>
|
||||
<Led Id="Mainboard1">
|
||||
<X>0</X>
|
||||
<Y>131</Y>
|
||||
<Width>35mm</Width>
|
||||
<Height>57mm</Height>
|
||||
<Shape>M 0,0 L 0,1 L 0.325,1 L 0.325,0 Z M 0.862,0 L 0.822,0.06 L 0.904,0.11 L 0.91,0.505 L 0.86,0.532 L 0.74,0.532 L 0.6575,0.485 L 0.54,0.485 L 0.425,0.55 L 0.425,0.64 L0.44,0.66 L0.44,0.755 L 0.4,0.78 L 0.4,1 L 0.5,1 L 0.5,0.805 L 0.53,0.785 L 0.53,0.6325 L 0.515,0.6225 L 0.515,0.575 L 0.575,0.543 L 0.6225,0.543 L 0.705,0.59 L 0.9,0.59 L 1,0.525 L 1,0.08 Z</Shape>
|
||||
</Led>
|
||||
<Led Id="Mainboard2">
|
||||
<X>0</X>
|
||||
<Y>+</Y>
|
||||
<Width>17mm</Width>
|
||||
<Height>40mm</Height>
|
||||
<Shape>M 0.83,0 L 0.83,1 L1,1 L 1,0 Z M 0,0 L 0,1 L 0.6691,1 L 0.6691,0 Z</Shape>
|
||||
</Led>
|
||||
<Led Id="Mainboard3">
|
||||
<X>0</X>
|
||||
<Y>+</Y>
|
||||
<Width>44mm</Width>
|
||||
<Height>41mm</Height>
|
||||
<Shape>
|
||||
M 0,0 L 0,1 L 0.26,1 L 0.26,0 Z M 0.32,0 L 0.32,0.29 L 0.365,0.325 L 0.395,0.325 L 0.395,0.36 L 0.455,0.41 L 0.49,0.345 L 0.4675,0.32 L 0.455,0.2475 L 0.4675,0.26 L 0.395,0.2475 L 0.395,0 Z
|
||||
M 0.935,0.715 L 0.935,0.84 L 0.865,0.915 L 0.865,1 L 0.9375,1 L 0.9375,0.95 L 1,0.88 L 1,0.715 Z
|
||||
</Shape>
|
||||
</Led>
|
||||
<Led Id="Mainboard4">
|
||||
<X>0</X>
|
||||
<Y>+</Y>
|
||||
<Width>68mm</Width>
|
||||
<Height>35mm</Height>
|
||||
<Shape>M 0,0 L 0,1 L 0.94,1 L 0.94,0.95 L 0.206,0.95 Q 0.168,0.95 0.165,0.875 L 0.165,0 Z M 0.55,0.019 L 0.55,0.132 L 0.578,0.19 L 0.578,0.2078 L 0.612,0.271 L 0.612,0.6625 L 0.635,0.7125 L0.735,0.7125 L0.755,0.75 L 0.915,0.75 L 0.92,0.76 L 0.942,0.76 L 0.94,1 L 0.99,1 L 0.99,0.72 L 0.965,0.67 L 0.935,0.67 L 0.93,0.66 L 0.772,0.66 L 0.752,0.62 L 0.66,0.62 L 0.66,0.237 L 0.622,0.16 L 0.622,0.145 L 0.5975,0.095 L 0.5975,0.019 Z</Shape>
|
||||
</Led>
|
||||
<Led Id="Mainboard5">
|
||||
<X>80</X>
|
||||
<Y>132</Y>
|
||||
<Width>5mm</Width>
|
||||
<Height>13mm</Height>
|
||||
</Led>
|
||||
</Leds>
|
||||
</Device>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,150 @@
|
||||
<!--
|
||||
* Build targets hacked from SQLite (thanks!)
|
||||
* System.Data.SQLite.Core.targets -
|
||||
-->
|
||||
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<AsusSDKFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')"
|
||||
Include="$(MSBuildThisFileDirectory)libs\**\*.dll;$(MSBuildThisFileDirectory)resources\**\*.*" />
|
||||
|
||||
<AdditionalPublishFilex86 Include="$(MSBuildThisFileDirectory)libs\x86\*.dll">
|
||||
<Visible>False</Visible>
|
||||
</AdditionalPublishFilex86>
|
||||
<AdditionalPublishFilex64 Include="$(MSBuildThisFileDirectory)libs\x64\*.dll">
|
||||
<Visible>False</Visible>
|
||||
</AdditionalPublishFilex64>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentAsusSDKFiles)' != '' And
|
||||
'$(ContentAsusSDKFiles)' != 'false' And
|
||||
'@(AsusSDKFiles)' != ''">
|
||||
<Content Include="@(AsusSDKFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Build Targets* **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopyAsusSDKFiles"
|
||||
Condition="'$(CopyAsusSDKFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(AsusSDKFiles)"
|
||||
Outputs="@(AsusSDKFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "AURA_SDK.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Message Text="Copying SDK files..." Importance="high" />
|
||||
<Copy SourceFiles="@(AsusSDKFiles)"
|
||||
DestinationFiles="@(AsusSDKFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanAsusSDKFiles"
|
||||
Condition="'$(CleanAsusSDKFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
|
||||
<!--
|
||||
NOTE: Delete "AsusSDK*.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Message Text="this file $(MSBuildThisFileDirectory)" Importance="high"/>
|
||||
<Message Text="Cleaning SDK files..." Importance="high" />
|
||||
|
||||
<Delete Files="@(AsusSDKFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectAsusSDKFiles"
|
||||
Condition="'$(CollectAsusSDKFiles)' != 'false'">
|
||||
<Message Text="Collecting SDK files..." Importance="high" />
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(AsusSDKFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="BeforePublish">
|
||||
<Touch Files="@(IntermediateAssembly)" />
|
||||
</Target>
|
||||
<Target Name="BeforeBuild">
|
||||
<CreateItem Include="@(AdditionalPublishFilex86)" AdditionalMetadata="TargetPath=x86\%(FileName)%(Extension);IsDataFile=false">
|
||||
<Output TaskParameter="Include" ItemName="_DeploymentManifestFiles" />
|
||||
</CreateItem>
|
||||
<CreateItem Include="@(AdditionalPublishFilex64)" AdditionalMetadata="TargetPath=x64\%(FileName)%(Extension);IsDataFile=false">
|
||||
<Output TaskParameter="Include" ItemName="_DeploymentManifestFiles" />
|
||||
</CreateItem>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopyAsusSDKFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopyAsusSDKFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanAsusSDKFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Publish Properties for Visual Studio 201x **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectAsusSDKFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Reference in new issue
Block a user