mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
* Support for Strix Carry (P508) * Fixes polling rate, angle snapping and debounce for Gladius II Origin. * The Gen2 version of the TuF M3 uses 0-100 for brightness. * Adds support for ROG Strix Impact III (P518) * Import/Export feature for mice.
32 lines
620 B
C#
32 lines
620 B
C#
|
|
namespace GHelper.Peripherals
|
|
{
|
|
public enum PeripheralType
|
|
{
|
|
Mouse,
|
|
Keyboard
|
|
}
|
|
|
|
public interface IPeripheral
|
|
{
|
|
public bool IsDeviceReady { get; }
|
|
public bool Wireless { get; }
|
|
public int Battery { get; }
|
|
public bool Charging { get; }
|
|
|
|
public bool CanExport();
|
|
public byte[] Export();
|
|
public bool Import(byte[] blob);
|
|
|
|
public PeripheralType DeviceType();
|
|
|
|
public string GetDisplayName();
|
|
|
|
public bool HasBattery();
|
|
|
|
public void SynchronizeDevice();
|
|
|
|
public void ReadBattery();
|
|
}
|
|
}
|