mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Added Gladius III (P711) experimental class.
This commit is contained in:
81
app/Peripherals/Mouse/Models/P711.cs
Normal file
81
app/Peripherals/Mouse/Models/P711.cs
Normal file
@@ -0,0 +1,81 @@
|
||||
namespace GHelper.Peripherals.Mouse.Models
|
||||
{
|
||||
public class P711 : AsusMouse
|
||||
{
|
||||
private static string[] POLLING_RATES = { "125Hz", "250Hz", "500Hz", "1000Hz" };
|
||||
|
||||
public P711() : base(0x0B05, 0x1A70, "mi_01", true)
|
||||
{
|
||||
}
|
||||
|
||||
protected P711(ushort vendorId, bool wireless) : base(0x0B05, vendorId, "mi_01", wireless)
|
||||
{
|
||||
}
|
||||
|
||||
public override int DPIProfileCount()
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
public override string GetDisplayName()
|
||||
{
|
||||
return "ROG Gladius III (Wireless)";
|
||||
}
|
||||
|
||||
|
||||
public override string[] PollingRateDisplayStrings()
|
||||
{
|
||||
return POLLING_RATES;
|
||||
}
|
||||
|
||||
public override int ProfileCount()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
public override int MaxDPI()
|
||||
{
|
||||
return 36_000;
|
||||
}
|
||||
|
||||
public override bool HasLiftOffSetting()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool HasRGB()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool HasEnergySettings()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool HasAngleSnapping()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool IsLightingModeSupported(LightingMode lightingMode)
|
||||
{
|
||||
return lightingMode == LightingMode.Static
|
||||
|| lightingMode == LightingMode.Breathing
|
||||
|| lightingMode == LightingMode.ColorCycle
|
||||
|| lightingMode == LightingMode.React
|
||||
|| lightingMode == LightingMode.BatteryState;
|
||||
}
|
||||
}
|
||||
|
||||
public class P711Wired : P711
|
||||
{
|
||||
public P711Wired() : base(0x1A72, false)
|
||||
{
|
||||
}
|
||||
|
||||
public override string GetDisplayName()
|
||||
{
|
||||
return "ROG Gladius III (Wired)";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user