mirror of https://github.com/duggerd/KFDtool.git
24 lines
561 B
C#
24 lines
561 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HidLibrary
|
|
{
|
|
public interface IHidEnumerator
|
|
{
|
|
bool IsConnected(string devicePath);
|
|
|
|
IHidDevice GetDevice(string devicePath);
|
|
|
|
IEnumerable<IHidDevice> Enumerate();
|
|
|
|
IEnumerable<IHidDevice> Enumerate(string devicePath);
|
|
|
|
IEnumerable<IHidDevice> Enumerate(int vendorId, params int[] productIds);
|
|
|
|
IEnumerable<IHidDevice> Enumerate(int vendorId);
|
|
}
|
|
}
|