コード例 #1
0
        public static List<LogitechKeyboard> GetKeyboards(LogitechKeyboardType keyboardType)
        {
            AssertInitialized();

            return devices.Where(
                d => d.KeyboardType.ProductID == keyboardType.ProductID &&
                d.KeyboardType.ReportID == keyboardType.ReportID
               ).ToList();
        }
コード例 #2
0
        public static List <LogitechKeyboard> GetKeyboards(LogitechKeyboardType keyboardType)
        {
            AssertInitialized();

            return(devices.Where(
                       d => d.KeyboardType.ProductID == keyboardType.ProductID &&
                       d.KeyboardType.ReportID == keyboardType.ReportID
                       ).ToList());
        }
コード例 #3
0
 internal LogitechKeyboard(HidDevice device, LogitechKeyboardType type)
 {
     Device       = device;
     KeyboardType = type;
 }
コード例 #4
0
 internal LogitechKeyboard(HidDevice device, LogitechKeyboardType type)
 {
     Device = device;
     KeyboardType = type;
 }