This commit is contained in:
Serge
2024-01-13 21:37:49 +01:00
2 changed files with 107 additions and 0 deletions

View File

@@ -0,0 +1,106 @@
namespace GHelper.Peripherals.Mouse.Models
{
//SPATHA_WIRELESS
public class SpathaX : AsusMouse
{
public SpathaX() : base(0x0B05, 0x1979, "mi_00", true)
{
}
protected SpathaX(ushort vendorId, bool wireless) : base(0x0B05, vendorId, "mi_00", wireless)
{
}
public override string GetDisplayName()
{
return "ROG Spatha X (Wireless)";
}
public override PollingRate[] SupportedPollingrates()
{
return new PollingRate[] {
PollingRate.PR250Hz,
PollingRate.PR500Hz,
PollingRate.PR1000Hz
};
}
public override bool HasAngleSnapping()
{
return true;
}
public override int ProfileCount()
{
return 5;
}
public override int DPIProfileCount()
{
return 4;
}
public override int MaxDPI()
{
return 19_000;
}
public override bool HasXYDPI()
{
return false;
}
public override bool HasDebounceSetting()
{
return false;
}
public override bool HasLiftOffSetting()
{
return true;
}
public override bool HasRGB()
{
return true;
}
public override LightingZone[] SupportedLightingZones()
{
return new LightingZone[] { LightingZone.Logo, LightingZone.Scrollwheel, LightingZone.Underglow };
}
public override bool HasAutoPowerOff()
{
return true;
}
public override bool HasAngleTuning()
{
return false;
}
public override bool HasLowBatteryWarning()
{
return true;
}
public override bool HasDPIColors()
{
return true;
}
}
public class SpathaXWired : SpathaX
{
public SpathaXWired() : base(0x1977, false)
{
}
public override string GetDisplayName()
{
return "ROG Spatha X (Wired)";
}
}
}

View File

@@ -212,6 +212,7 @@ namespace GHelper.Peripherals
DetectMouse(new Chakram());
DetectMouse(new ChakramWired());
DetectMouse(new ChakramCore());
DetectMouse(new SpathaX());
}
public static void DetectMouse(AsusMouse am)