Example #1
0
 public static InputStream GetDefaultInputStream()
 => InputStream.Create(InputDeviceList.FirstOrDefault());
Example #2
0
 public static DeviceDescriptor FindInputDevice(string id)
 => new DeviceDescriptor
 {
     _handle = InputDeviceList.FirstOrDefault(dev => dev.ID == id)
 };