mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Version Bump
This commit is contained in:
@@ -69,8 +69,6 @@ namespace GHelper
|
|||||||
static System.Timers.Timer timer = new System.Timers.Timer(2000);
|
static System.Timers.Timer timer = new System.Timers.Timer(2000);
|
||||||
static HidDevice? auraDevice = null;
|
static HidDevice? auraDevice = null;
|
||||||
|
|
||||||
static bool Manual = false;
|
|
||||||
|
|
||||||
static byte[] AuraPowerMessage(AuraPower flags)
|
static byte[] AuraPowerMessage(AuraPower flags)
|
||||||
{
|
{
|
||||||
byte keyb = 0, bar = 0, lid = 0, rear = 0;
|
byte keyb = 0, bar = 0, lid = 0, rear = 0;
|
||||||
@@ -571,7 +569,7 @@ namespace GHelper
|
|||||||
device.OpenDevice();
|
device.OpenDevice();
|
||||||
if (device.ReadFeatureData(out byte[] data, AURA_HID_ID))
|
if (device.ReadFeatureData(out byte[] data, AURA_HID_ID))
|
||||||
{
|
{
|
||||||
msg = AuraMessage(Mode, Color1, Color2, _speed, device.Attributes.Version == 22);
|
msg = AuraMessage(Mode, Color1, Color2, _speed, device.Attributes.Version == 22 && AppConfig.ContainsModel("GA402X"));
|
||||||
device.WriteFeatureData(msg);
|
device.WriteFeatureData(msg);
|
||||||
device.WriteFeatureData(MESSAGE_APPLY);
|
device.WriteFeatureData(MESSAGE_APPLY);
|
||||||
device.WriteFeatureData(MESSAGE_SET);
|
device.WriteFeatureData(MESSAGE_SET);
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
||||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
<AssemblyVersion>0.108</AssemblyVersion>
|
<AssemblyVersion>0.109</AssemblyVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
|||||||
Reference in New Issue
Block a user