Adds Button debounce (button response time) setting for supported mice.

This commit is contained in:
IceStormNG
2023-07-31 13:05:31 +02:00
parent b5451cfc21
commit 4f2fdc55ee
10 changed files with 321 additions and 48 deletions

View File

@@ -50,6 +50,11 @@ namespace GHelper.Peripherals.Mouse.Models
return true;
}
public override bool HasDebounceSetting()
{
return true;
}
public override bool HasLiftOffSetting()
{
return true;

View File

@@ -45,6 +45,11 @@
return true;
}
public override bool HasDebounceSetting()
{
return true;
}
public override bool HasLiftOffSetting()
{
return true;

View File

@@ -102,6 +102,10 @@
{
return 100;
}
public override bool HasDebounceSetting()
{
return true;
}
public override bool CanChangeDPIProfile()
{

View File

@@ -145,6 +145,11 @@
return 4;
}
public override bool HasDebounceSetting()
{
return true;
}
protected override byte IndexForLightingMode(LightingMode lightingMode)
{
if (lightingMode == LightingMode.Off)

View File

@@ -42,6 +42,11 @@
return false;
}
public override bool HasDebounceSetting()
{
return true;
}
public override bool HasAutoPowerOff()
{
return true;