mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
33 lines
629 B
C#
33 lines
629 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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 PeripheralType DeviceType();
|
|
|
|
public string GetDisplayName();
|
|
|
|
public bool HasBattery();
|
|
|
|
public void SynchronizeDevice();
|
|
|
|
public void ReadBattery();
|
|
}
|
|
}
|