From b9d0c29b5a73b1443949b27e527df2da3fd63f62 Mon Sep 17 00:00:00 2001 From: Cameron Beeley Date: Fri, 10 Jul 2026 20:37:46 +0100 Subject: [PATCH] Remove unused using directives Remove 158 unused using directives flagged by the IDE0005 analyzer during a full-reference build. Pure removal, no code changes. --- DS4Windows/AutoProfileChecker.cs | 2 -- DS4Windows/AutoProfileHolder.cs | 3 --- DS4Windows/BezierCurveEditor/BezierCurve.cs | 1 - DS4Windows/DS4Control/ControlServiceDeviceOptions.cs | 3 --- DS4Windows/DS4Control/ControllerSlotManager.cs | 1 - DS4Windows/DS4Control/DS4OutDevice.cs | 2 -- DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceBasic.cs | 1 - DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExt.cs | 2 -- DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs | 2 -- DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceFactory.cs | 1 - DS4Windows/DS4Control/DTOXml/ActionsDTO.cs | 2 -- DS4Windows/DS4Control/DTOXml/AppSettingsDTO.cs | 1 - DS4Windows/DS4Control/DTOXml/AutoProfilesDTO.cs | 1 - DS4Windows/DS4Control/DTOXml/DS4ControllerOptsDTO.cs | 1 - DS4Windows/DS4Control/DTOXml/DualSenseControllerOptsDTO.cs | 2 -- DS4Windows/DS4Control/DTOXml/IDTO.cs | 1 - DS4Windows/DS4Control/DTOXml/JoyConControllerOptsDTO.cs | 1 - DS4Windows/DS4Control/DTOXml/LinkedProfilesDTO.cs | 1 - DS4Windows/DS4Control/DTOXml/ProfileDTO.cs | 2 -- DS4Windows/DS4Control/DTOXml/SwitchProControllerOptsDTO.cs | 1 - DS4Windows/DS4Control/DTOXml/XmlDataUtilities.cs | 3 --- DS4Windows/DS4Control/DeltaAccelSettings.cs | 1 - DS4Windows/DS4Control/Mapping.cs | 1 - DS4Windows/DS4Control/OutSlotDevice.cs | 1 - DS4Windows/DS4Control/OutputDevice.cs | 1 - DS4Windows/DS4Control/OutputKBM/FakerInputHandler.cs | 1 - DS4Windows/DS4Control/OutputKBM/FakerInputMapping.cs | 1 - DS4Windows/DS4Control/OutputKBM/VirtualKBMBase.cs | 1 - DS4Windows/DS4Control/OutputKBM/VirtualKBMFactory.cs | 1 - DS4Windows/DS4Control/OutputSlotManager.cs | 2 -- DS4Windows/DS4Control/OutputSlotPersist.cs | 3 --- DS4Windows/DS4Control/PresetOption.cs | 1 - DS4Windows/DS4Control/ProfileMigration.cs | 1 - DS4Windows/DS4Control/Program.cs | 1 - DS4Windows/DS4Control/ScpUtil.cs | 1 - DS4Windows/DS4Control/StickOutCurve.cs | 1 - DS4Windows/DS4Control/Util.cs | 1 - DS4Windows/DS4Control/Xbox360OutDevice.cs | 2 -- DS4Windows/DS4Forms/AutoProfiles.xaml.cs | 3 --- DS4Windows/DS4Forms/AxialStickUserControl.xaml.cs | 1 - DS4Windows/DS4Forms/BindingWindow.xaml.cs | 3 --- DS4Windows/DS4Forms/ChangelogWindow.xaml.cs | 2 -- DS4Windows/DS4Forms/ColorPickerWindow.xaml.cs | 3 --- DS4Windows/DS4Forms/ControllerReadingsControl.xaml.cs | 3 --- DS4Windows/DS4Forms/ControllerRegisterOptionsWindow.xaml.cs | 4 ---- .../DS4Forms/Converters/InvertBoolToVisibilityConverter.cs | 2 -- DS4Windows/DS4Forms/DupBox.xaml.cs | 2 -- DS4Windows/DS4Forms/FirstLaunchUtilWindow.xaml.cs | 2 -- DS4Windows/DS4Forms/LanguagePackControl.xaml.cs | 2 -- DS4Windows/DS4Forms/LightbarMacroCreator.xaml.cs | 2 -- DS4Windows/DS4Forms/LogMessageDisplay.xaml.cs | 1 - DS4Windows/DS4Forms/MainWindow.xaml.cs | 2 -- DS4Windows/DS4Forms/OutputSlotManagerControl.xaml.cs | 2 -- DS4Windows/DS4Forms/PluginOutDevWindow.xaml.cs | 2 -- DS4Windows/DS4Forms/PresetOptionWindow.xaml.cs | 2 -- DS4Windows/DS4Forms/ProfileEditor.xaml.cs | 3 --- DS4Windows/DS4Forms/RecordBox.xaml.cs | 3 --- DS4Windows/DS4Forms/RecordBoxWindow.xaml.cs | 2 -- DS4Windows/DS4Forms/StickCalibrationWindow.xaml.cs | 1 - DS4Windows/DS4Forms/TouchButtonUserControl.xaml.cs | 2 -- DS4Windows/DS4Forms/UpdaterWindow.xaml.cs | 1 - DS4Windows/DS4Forms/UtilMethods.cs | 2 -- DS4Windows/DS4Forms/ViewModels/AutoProfilesViewModel.cs | 1 - DS4Windows/DS4Forms/ViewModels/BindingWindowViewModel.cs | 2 -- DS4Windows/DS4Forms/ViewModels/ChangelogViewModel.cs | 3 --- DS4Windows/DS4Forms/ViewModels/ControllerListViewModel.cs | 1 - .../DS4Forms/ViewModels/ControllerRegDeviceOptsViewModel.cs | 1 - DS4Windows/DS4Forms/ViewModels/CurrentOutDeviceViewModel.cs | 1 - DS4Windows/DS4Forms/ViewModels/FirstLauchUtilViewModel.cs | 1 - DS4Windows/DS4Forms/ViewModels/LanguagePackViewModel.cs | 1 - DS4Windows/DS4Forms/ViewModels/RecordBoxViewModel.cs | 1 - DS4Windows/DS4Forms/ViewModels/RenameProfileViewModel.cs | 1 - DS4Windows/DS4Forms/ViewModels/SettingsViewModel.cs | 2 -- DS4Windows/DS4Forms/ViewModels/SpecialActEditorViewModel.cs | 2 -- .../ViewModels/SpecialActions/CheckBatteryViewModel.cs | 1 - .../ViewModels/SpecialActions/LaunchProgramViewModel.cs | 1 - .../ViewModels/SpecialActions/LoadProfileViewModel.cs | 2 -- .../DS4Forms/ViewModels/SpecialActions/MacroViewModel.cs | 3 --- .../ViewModels/SpecialActions/MultiActButtonViewModel.cs | 1 - .../DS4Forms/ViewModels/SpecialActions/PressKeyViewModel.cs | 1 - DS4Windows/DS4Forms/ViewModels/SpecialActionsListViewModel.cs | 1 - .../DS4Forms/ViewModels/TouchButtonUserControlViewModel.cs | 1 - DS4Windows/DS4Forms/ViewModels/Util/EnumChoiceSelection.cs | 1 - DS4Windows/DS4Forms/ViewModels/Util/EventHandlers.cs | 1 - DS4Windows/DS4Library/DS4Device.cs | 2 -- DS4Windows/DS4Library/InputDevices/DualSenseDevice.cs | 3 --- DS4Windows/DS4Library/InputDevices/InputDeviceFactory.cs | 1 - DS4Windows/DS4Library/InputDevices/JoyConDevice.cs | 2 -- DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs | 2 -- DS4Windows/DS4Library/InputDevices/TriggerEffects.cs | 1 - DS4Windows/HidLibrary/HidDevice.cs | 2 -- DS4Windows/LogItem.cs | 1 - DS4Windows/LoggerHolder.cs | 2 -- DS4Windows/OneEuroFilter.cs | 1 - DS4Windows/ProfileEntity.cs | 2 -- DS4Windows/ProfileList.cs | 2 -- 96 files changed, 158 deletions(-) diff --git a/DS4Windows/AutoProfileChecker.cs b/DS4Windows/AutoProfileChecker.cs index 4d6454f..f1d155f 100644 --- a/DS4Windows/AutoProfileChecker.cs +++ b/DS4Windows/AutoProfileChecker.cs @@ -24,10 +24,8 @@ You should have received a copy of the GNU General Public License using System.Text; using System.Diagnostics; // StopWatch using System.Threading; // Sleep -using System.Threading.Tasks; using Windows.Win32; using Windows.Win32.Foundation; -using Windows.Win32.UI.Accessibility; using DS4Windows; namespace DS4WinWPF diff --git a/DS4Windows/AutoProfileHolder.cs b/DS4Windows/AutoProfileHolder.cs index 2951060..59793d1 100644 --- a/DS4Windows/AutoProfileHolder.cs +++ b/DS4Windows/AutoProfileHolder.cs @@ -17,12 +17,9 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; -using System.Linq; using System.Text; -using System.Threading.Tasks; using System.Windows.Data; using System.Xml; using System.Xml.Serialization; diff --git a/DS4Windows/BezierCurveEditor/BezierCurve.cs b/DS4Windows/BezierCurveEditor/BezierCurve.cs index efd65c2..88073e2 100644 --- a/DS4Windows/BezierCurveEditor/BezierCurve.cs +++ b/DS4Windows/BezierCurveEditor/BezierCurve.cs @@ -32,7 +32,6 @@ * */ using System; -using System.Globalization; namespace DS4Windows { diff --git a/DS4Windows/DS4Control/ControlServiceDeviceOptions.cs b/DS4Windows/DS4Control/ControlServiceDeviceOptions.cs index 081c86b..ca3e699 100644 --- a/DS4Windows/DS4Control/ControlServiceDeviceOptions.cs +++ b/DS4Windows/DS4Control/ControlServiceDeviceOptions.cs @@ -17,12 +17,9 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Diagnostics; using System.IO; -using System.Linq; using System.Text; -using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; using DS4Windows.InputDevices; diff --git a/DS4Windows/DS4Control/ControllerSlotManager.cs b/DS4Windows/DS4Control/ControllerSlotManager.cs index 1794169..f36b5d1 100644 --- a/DS4Windows/DS4Control/ControllerSlotManager.cs +++ b/DS4Windows/DS4Control/ControllerSlotManager.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Threading; diff --git a/DS4Windows/DS4Control/DS4OutDevice.cs b/DS4Windows/DS4Control/DS4OutDevice.cs index 28e088e..69ee033 100644 --- a/DS4Windows/DS4Control/DS4OutDevice.cs +++ b/DS4Windows/DS4Control/DS4OutDevice.cs @@ -18,12 +18,10 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.Linq; using System.Text; using System.Threading.Tasks; using Nefarius.ViGEm.Client; using Nefarius.ViGEm.Client.Targets; -using Nefarius.ViGEm.Client.Targets.DualShock4; namespace DS4Windows { diff --git a/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceBasic.cs b/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceBasic.cs index 3a139fa..ae2e894 100644 --- a/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceBasic.cs +++ b/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceBasic.cs @@ -19,7 +19,6 @@ You should have received a copy of the GNU General Public License using Nefarius.ViGEm.Client; using Nefarius.ViGEm.Client.Targets.DualShock4; using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExt.cs b/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExt.cs index 86dd2dd..a05fb1f 100644 --- a/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExt.cs +++ b/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExt.cs @@ -17,12 +17,10 @@ You should have received a copy of the GNU General Public License */ using Nefarius.ViGEm.Client; -using Nefarius.ViGEm.Client.Targets; using Nefarius.ViGEm.Client.Targets.DualShock4; using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading; namespace DS4Windows diff --git a/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs b/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs index 4aa37c9..d6ddb0b 100644 --- a/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs +++ b/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs @@ -16,11 +16,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; -using System.Text; using System.Threading.Tasks; namespace DS4Windows diff --git a/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceFactory.cs b/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceFactory.cs index ac4c2f3..839b8b8 100644 --- a/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceFactory.cs +++ b/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceFactory.cs @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License using Nefarius.ViGEm.Client; using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/DS4Windows/DS4Control/DTOXml/ActionsDTO.cs b/DS4Windows/DS4Control/DTOXml/ActionsDTO.cs index 2343572..f15533c 100644 --- a/DS4Windows/DS4Control/DTOXml/ActionsDTO.cs +++ b/DS4Windows/DS4Control/DTOXml/ActionsDTO.cs @@ -16,9 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; -using System.Linq; using System.Xml; using System.Xml.Serialization; using DS4Windows; diff --git a/DS4Windows/DS4Control/DTOXml/AppSettingsDTO.cs b/DS4Windows/DS4Control/DTOXml/AppSettingsDTO.cs index fad17aa..00f87e6 100644 --- a/DS4Windows/DS4Control/DTOXml/AppSettingsDTO.cs +++ b/DS4Windows/DS4Control/DTOXml/AppSettingsDTO.cs @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.ComponentModel.Design; using System.Diagnostics; using System.Linq; using System.Text; diff --git a/DS4Windows/DS4Control/DTOXml/AutoProfilesDTO.cs b/DS4Windows/DS4Control/DTOXml/AutoProfilesDTO.cs index 191e4e0..a135c20 100644 --- a/DS4Windows/DS4Control/DTOXml/AutoProfilesDTO.cs +++ b/DS4Windows/DS4Control/DTOXml/AutoProfilesDTO.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Xml; using System.Xml.Serialization; diff --git a/DS4Windows/DS4Control/DTOXml/DS4ControllerOptsDTO.cs b/DS4Windows/DS4Control/DTOXml/DS4ControllerOptsDTO.cs index 581be14..6014c9c 100644 --- a/DS4Windows/DS4Control/DTOXml/DS4ControllerOptsDTO.cs +++ b/DS4Windows/DS4Control/DTOXml/DS4ControllerOptsDTO.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Xml; using System.Xml.Serialization; using DS4Windows; diff --git a/DS4Windows/DS4Control/DTOXml/DualSenseControllerOptsDTO.cs b/DS4Windows/DS4Control/DTOXml/DualSenseControllerOptsDTO.cs index ab85355..d2275cc 100644 --- a/DS4Windows/DS4Control/DTOXml/DualSenseControllerOptsDTO.cs +++ b/DS4Windows/DS4Control/DTOXml/DualSenseControllerOptsDTO.cs @@ -16,11 +16,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Xml; using System.Xml.Serialization; using DS4Windows; -using DS4Windows.InputDevices; using static DS4Windows.DualSenseControllerOptions; namespace DS4WinWPF.DS4Control.DTOXml diff --git a/DS4Windows/DS4Control/DTOXml/IDTO.cs b/DS4Windows/DS4Control/DTOXml/IDTO.cs index a90a74a..eb6ec31 100644 --- a/DS4Windows/DS4Control/DTOXml/IDTO.cs +++ b/DS4Windows/DS4Control/DTOXml/IDTO.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/DS4Windows/DS4Control/DTOXml/JoyConControllerOptsDTO.cs b/DS4Windows/DS4Control/DTOXml/JoyConControllerOptsDTO.cs index eb3335b..5964053 100644 --- a/DS4Windows/DS4Control/DTOXml/JoyConControllerOptsDTO.cs +++ b/DS4Windows/DS4Control/DTOXml/JoyConControllerOptsDTO.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Xml.Serialization; using DS4Windows; diff --git a/DS4Windows/DS4Control/DTOXml/LinkedProfilesDTO.cs b/DS4Windows/DS4Control/DTOXml/LinkedProfilesDTO.cs index dcca6b6..ce0a81a 100644 --- a/DS4Windows/DS4Control/DTOXml/LinkedProfilesDTO.cs +++ b/DS4Windows/DS4Control/DTOXml/LinkedProfilesDTO.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Xml; using System.Xml.Schema; diff --git a/DS4Windows/DS4Control/DTOXml/ProfileDTO.cs b/DS4Windows/DS4Control/DTOXml/ProfileDTO.cs index 89f2a62..dfff4ce 100644 --- a/DS4Windows/DS4Control/DTOXml/ProfileDTO.cs +++ b/DS4Windows/DS4Control/DTOXml/ProfileDTO.cs @@ -19,14 +19,12 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; using System.IO; -using System.Text; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; using DS4Windows; using DS4Windows.InputDevices; using DS4Windows.StickModifiers; -using DS4WinWPF.DS4Forms.ViewModels; using static DS4Windows.Mouse; namespace DS4WinWPF.DS4Control.DTOXml diff --git a/DS4Windows/DS4Control/DTOXml/SwitchProControllerOptsDTO.cs b/DS4Windows/DS4Control/DTOXml/SwitchProControllerOptsDTO.cs index 124f40b..5df6712 100644 --- a/DS4Windows/DS4Control/DTOXml/SwitchProControllerOptsDTO.cs +++ b/DS4Windows/DS4Control/DTOXml/SwitchProControllerOptsDTO.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/DS4Windows/DS4Control/DTOXml/XmlDataUtilities.cs b/DS4Windows/DS4Control/DTOXml/XmlDataUtilities.cs index 315f310..71961a1 100644 --- a/DS4Windows/DS4Control/DTOXml/XmlDataUtilities.cs +++ b/DS4Windows/DS4Control/DTOXml/XmlDataUtilities.cs @@ -16,12 +16,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.IO; -using System.Linq; using System.Text; -using System.Threading.Tasks; namespace DS4WinWPF.DS4Control.DTOXml { diff --git a/DS4Windows/DS4Control/DeltaAccelSettings.cs b/DS4Windows/DS4Control/DeltaAccelSettings.cs index 193b04f..a217b40 100644 --- a/DS4Windows/DS4Control/DeltaAccelSettings.cs +++ b/DS4Windows/DS4Control/DeltaAccelSettings.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/DS4Windows/DS4Control/Mapping.cs b/DS4Windows/DS4Control/Mapping.cs index 077950a..324f926 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -30,7 +30,6 @@ You should have received a copy of the GNU General Public License using Sensorit.Base; using DS4WinWPF.DS4Control; using DS4WinWPF.DS4Forms.ViewModels; -using ThreadState = System.Threading.ThreadState; namespace DS4Windows { diff --git a/DS4Windows/DS4Control/OutSlotDevice.cs b/DS4Windows/DS4Control/OutSlotDevice.cs index fec1094..e173079 100644 --- a/DS4Windows/DS4Control/OutSlotDevice.cs +++ b/DS4Windows/DS4Control/OutSlotDevice.cs @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/DS4Windows/DS4Control/OutputDevice.cs b/DS4Windows/DS4Control/OutputDevice.cs index 9bdc2e3..ba026ba 100644 --- a/DS4Windows/DS4Control/OutputDevice.cs +++ b/DS4Windows/DS4Control/OutputDevice.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; namespace DS4Windows { diff --git a/DS4Windows/DS4Control/OutputKBM/FakerInputHandler.cs b/DS4Windows/DS4Control/OutputKBM/FakerInputHandler.cs index f242c7e..522fb0d 100644 --- a/DS4Windows/DS4Control/OutputKBM/FakerInputHandler.cs +++ b/DS4Windows/DS4Control/OutputKBM/FakerInputHandler.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Threading; diff --git a/DS4Windows/DS4Control/OutputKBM/FakerInputMapping.cs b/DS4Windows/DS4Control/OutputKBM/FakerInputMapping.cs index 4145a1e..c9250de 100644 --- a/DS4Windows/DS4Control/OutputKBM/FakerInputMapping.cs +++ b/DS4Windows/DS4Control/OutputKBM/FakerInputMapping.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Windows.Input; using FakerInputWrapper; diff --git a/DS4Windows/DS4Control/OutputKBM/VirtualKBMBase.cs b/DS4Windows/DS4Control/OutputKBM/VirtualKBMBase.cs index 71e2d88..3385f7b 100644 --- a/DS4Windows/DS4Control/OutputKBM/VirtualKBMBase.cs +++ b/DS4Windows/DS4Control/OutputKBM/VirtualKBMBase.cs @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/DS4Windows/DS4Control/OutputKBM/VirtualKBMFactory.cs b/DS4Windows/DS4Control/OutputKBM/VirtualKBMFactory.cs index f02f7ea..36a1d09 100644 --- a/DS4Windows/DS4Control/OutputKBM/VirtualKBMFactory.cs +++ b/DS4Windows/DS4Control/OutputKBM/VirtualKBMFactory.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; namespace DS4Windows.DS4Control { diff --git a/DS4Windows/DS4Control/OutputSlotManager.cs b/DS4Windows/DS4Control/OutputSlotManager.cs index 8f8cb98..aa4ff01 100644 --- a/DS4Windows/DS4Control/OutputSlotManager.cs +++ b/DS4Windows/DS4Control/OutputSlotManager.cs @@ -20,10 +20,8 @@ You should have received a copy of the GNU General Public License using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; -using System.Linq; using System.Text; using System.Threading; -using System.Threading.Tasks; using System.Windows.Threading; using DS4WinWPF.DS4Control; using Nefarius.ViGEm.Client; diff --git a/DS4Windows/DS4Control/OutputSlotPersist.cs b/DS4Windows/DS4Control/OutputSlotPersist.cs index abc94c5..20a52fa 100644 --- a/DS4Windows/DS4Control/OutputSlotPersist.cs +++ b/DS4Windows/DS4Control/OutputSlotPersist.cs @@ -17,11 +17,8 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.IO; -using System.Linq; using System.Text; -using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; using DS4Windows; diff --git a/DS4Windows/DS4Control/PresetOption.cs b/DS4Windows/DS4Control/PresetOption.cs index cd75719..100bab1 100644 --- a/DS4Windows/DS4Control/PresetOption.cs +++ b/DS4Windows/DS4Control/PresetOption.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/DS4Windows/DS4Control/ProfileMigration.cs b/DS4Windows/DS4Control/ProfileMigration.cs index e48bf0e..756c058 100644 --- a/DS4Windows/DS4Control/ProfileMigration.cs +++ b/DS4Windows/DS4Control/ProfileMigration.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.IO; using System.Text; using System.Xml; diff --git a/DS4Windows/DS4Control/Program.cs b/DS4Windows/DS4Control/Program.cs index bdc88c2..c96930f 100644 --- a/DS4Windows/DS4Control/Program.cs +++ b/DS4Windows/DS4Control/Program.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/DS4Windows/DS4Control/ScpUtil.cs b/DS4Windows/DS4Control/ScpUtil.cs index e5460cd..01cb5ad 100644 --- a/DS4Windows/DS4Control/ScpUtil.cs +++ b/DS4Windows/DS4Control/ScpUtil.cs @@ -20,7 +20,6 @@ You should have received a copy of the GNU General Public License using DS4Windows.InputDevices; using DS4Windows.StickModifiers; using DS4WinWPF.DS4Control.DTOXml; -using DS4WinWPF.DS4Forms.ViewModels; using Sensorit.Base; using System; using System.Collections.Generic; diff --git a/DS4Windows/DS4Control/StickOutCurve.cs b/DS4Windows/DS4Control/StickOutCurve.cs index 32736c1..262d08c 100644 --- a/DS4Windows/DS4Control/StickOutCurve.cs +++ b/DS4Windows/DS4Control/StickOutCurve.cs @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/DS4Windows/DS4Control/Util.cs b/DS4Windows/DS4Control/Util.cs index 346f7e1..31f8e19 100644 --- a/DS4Windows/DS4Control/Util.cs +++ b/DS4Windows/DS4Control/Util.cs @@ -21,7 +21,6 @@ You should have received a copy of the GNU General Public License using System.Runtime.InteropServices; using System.Security; using System.Threading.Tasks; -using System.Text; using System.IO; using Microsoft.Win32; diff --git a/DS4Windows/DS4Control/Xbox360OutDevice.cs b/DS4Windows/DS4Control/Xbox360OutDevice.cs index bad9e3b..a6f3778 100644 --- a/DS4Windows/DS4Control/Xbox360OutDevice.cs +++ b/DS4Windows/DS4Control/Xbox360OutDevice.cs @@ -18,10 +18,8 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.Linq; using System.Text; using System.Threading; -using System.Threading.Tasks; using Nefarius.ViGEm.Client; using Nefarius.ViGEm.Client.Targets; using Nefarius.ViGEm.Client.Targets.Xbox360; diff --git a/DS4Windows/DS4Forms/AutoProfiles.xaml.cs b/DS4Windows/DS4Forms/AutoProfiles.xaml.cs index 191cafb..5eb23a2 100644 --- a/DS4Windows/DS4Forms/AutoProfiles.xaml.cs +++ b/DS4Windows/DS4Forms/AutoProfiles.xaml.cs @@ -17,15 +17,12 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.IO; using System.Linq; -using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; -using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; diff --git a/DS4Windows/DS4Forms/AxialStickUserControl.xaml.cs b/DS4Windows/DS4Forms/AxialStickUserControl.xaml.cs index d6762f8..9c8066e 100644 --- a/DS4Windows/DS4Forms/AxialStickUserControl.xaml.cs +++ b/DS4Windows/DS4Forms/AxialStickUserControl.xaml.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Windows.Controls; using DS4Windows; using DS4WinWPF.DS4Forms.ViewModels; diff --git a/DS4Windows/DS4Forms/BindingWindow.xaml.cs b/DS4Windows/DS4Forms/BindingWindow.xaml.cs index 17eeb49..dab091d 100644 --- a/DS4Windows/DS4Forms/BindingWindow.xaml.cs +++ b/DS4Windows/DS4Forms/BindingWindow.xaml.cs @@ -19,16 +19,13 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; using System.Globalization; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; -using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; -using System.Windows.Media.Imaging; using System.Windows.Shapes; using DS4Windows; using DS4WinWPF.DS4Forms.ViewModels; diff --git a/DS4Windows/DS4Forms/ChangelogWindow.xaml.cs b/DS4Windows/DS4Forms/ChangelogWindow.xaml.cs index e774264..4f89969 100644 --- a/DS4Windows/DS4Forms/ChangelogWindow.xaml.cs +++ b/DS4Windows/DS4Forms/ChangelogWindow.xaml.cs @@ -17,13 +17,11 @@ You should have received a copy of the GNU General Public License */ using DS4WinWPF.DS4Forms.ViewModels; -using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; -using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; diff --git a/DS4Windows/DS4Forms/ColorPickerWindow.xaml.cs b/DS4Windows/DS4Forms/ColorPickerWindow.xaml.cs index ae5f0f9..947a90d 100644 --- a/DS4Windows/DS4Forms/ColorPickerWindow.xaml.cs +++ b/DS4Windows/DS4Forms/ColorPickerWindow.xaml.cs @@ -16,18 +16,15 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; -using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; -using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace DS4WinWPF.DS4Forms diff --git a/DS4Windows/DS4Forms/ControllerReadingsControl.xaml.cs b/DS4Windows/DS4Forms/ControllerReadingsControl.xaml.cs index 1bcefa0..8ebb751 100644 --- a/DS4Windows/DS4Forms/ControllerReadingsControl.xaml.cs +++ b/DS4Windows/DS4Forms/ControllerReadingsControl.xaml.cs @@ -17,17 +17,14 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; -using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; -using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using NonFormTimer = System.Timers.Timer; diff --git a/DS4Windows/DS4Forms/ControllerRegisterOptionsWindow.xaml.cs b/DS4Windows/DS4Forms/ControllerRegisterOptionsWindow.xaml.cs index 60c4763..deeba54 100644 --- a/DS4Windows/DS4Forms/ControllerRegisterOptionsWindow.xaml.cs +++ b/DS4Windows/DS4Forms/ControllerRegisterOptionsWindow.xaml.cs @@ -17,20 +17,16 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Diagnostics; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; -using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; -using System.Windows.Shapes; using DS4WinWPF.DS4Forms.ViewModels; using DS4Windows; diff --git a/DS4Windows/DS4Forms/Converters/InvertBoolToVisibilityConverter.cs b/DS4Windows/DS4Forms/Converters/InvertBoolToVisibilityConverter.cs index 482bb4f..6d57aab 100644 --- a/DS4Windows/DS4Forms/Converters/InvertBoolToVisibilityConverter.cs +++ b/DS4Windows/DS4Forms/Converters/InvertBoolToVisibilityConverter.cs @@ -17,9 +17,7 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Globalization; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; diff --git a/DS4Windows/DS4Forms/DupBox.xaml.cs b/DS4Windows/DS4Forms/DupBox.xaml.cs index 0702e1e..680c165 100644 --- a/DS4Windows/DS4Forms/DupBox.xaml.cs +++ b/DS4Windows/DS4Forms/DupBox.xaml.cs @@ -17,13 +17,11 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; -using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; diff --git a/DS4Windows/DS4Forms/FirstLaunchUtilWindow.xaml.cs b/DS4Windows/DS4Forms/FirstLaunchUtilWindow.xaml.cs index 0761028..34ae116 100644 --- a/DS4Windows/DS4Forms/FirstLaunchUtilWindow.xaml.cs +++ b/DS4Windows/DS4Forms/FirstLaunchUtilWindow.xaml.cs @@ -18,13 +18,11 @@ You should have received a copy of the GNU General Public License using DS4Windows; using DS4WinWPF.DS4Forms.ViewModels; -using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; -using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; diff --git a/DS4Windows/DS4Forms/LanguagePackControl.xaml.cs b/DS4Windows/DS4Forms/LanguagePackControl.xaml.cs index 5729065..58518fa 100644 --- a/DS4Windows/DS4Forms/LanguagePackControl.xaml.cs +++ b/DS4Windows/DS4Forms/LanguagePackControl.xaml.cs @@ -17,13 +17,11 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; -using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; diff --git a/DS4Windows/DS4Forms/LightbarMacroCreator.xaml.cs b/DS4Windows/DS4Forms/LightbarMacroCreator.xaml.cs index 9039e87..17e8612 100644 --- a/DS4Windows/DS4Forms/LightbarMacroCreator.xaml.cs +++ b/DS4Windows/DS4Forms/LightbarMacroCreator.xaml.cs @@ -1,9 +1,7 @@ using System; -using System.Collections.ObjectModel; using System.Linq; using System.Threading; using System.Windows; -using System.Windows.Media; using DS4Windows; using DS4WinWPF.DS4Forms.ViewModels; diff --git a/DS4Windows/DS4Forms/LogMessageDisplay.xaml.cs b/DS4Windows/DS4Forms/LogMessageDisplay.xaml.cs index ad1df01..7a91405 100644 --- a/DS4Windows/DS4Forms/LogMessageDisplay.xaml.cs +++ b/DS4Windows/DS4Forms/LogMessageDisplay.xaml.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Diagnostics; using System.Text.RegularExpressions; using System.Windows; diff --git a/DS4Windows/DS4Forms/MainWindow.xaml.cs b/DS4Windows/DS4Forms/MainWindow.xaml.cs index ac527f3..51f3f7c 100644 --- a/DS4Windows/DS4Forms/MainWindow.xaml.cs +++ b/DS4Windows/DS4Forms/MainWindow.xaml.cs @@ -35,13 +35,11 @@ You should have received a copy of the GNU General Public License using NonFormTimer = System.Timers.Timer; using System.Runtime.InteropServices; using System.ComponentModel; -using HttpProgress; using DS4WinWPF.DS4Forms.ViewModels; using DS4Windows; using DS4WinWPF.DS4Control; using DS4WinWPF.Translations; -using H.NotifyIcon.Core; namespace DS4WinWPF.DS4Forms { diff --git a/DS4Windows/DS4Forms/OutputSlotManagerControl.xaml.cs b/DS4Windows/DS4Forms/OutputSlotManagerControl.xaml.cs index 132183d..840eaa0 100644 --- a/DS4Windows/DS4Forms/OutputSlotManagerControl.xaml.cs +++ b/DS4Windows/DS4Forms/OutputSlotManagerControl.xaml.cs @@ -17,13 +17,11 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; -using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; diff --git a/DS4Windows/DS4Forms/PluginOutDevWindow.xaml.cs b/DS4Windows/DS4Forms/PluginOutDevWindow.xaml.cs index e7e3ed5..4977c5e 100644 --- a/DS4Windows/DS4Forms/PluginOutDevWindow.xaml.cs +++ b/DS4Windows/DS4Forms/PluginOutDevWindow.xaml.cs @@ -16,13 +16,11 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; -using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; diff --git a/DS4Windows/DS4Forms/PresetOptionWindow.xaml.cs b/DS4Windows/DS4Forms/PresetOptionWindow.xaml.cs index 940ccda..dbd3f73 100644 --- a/DS4Windows/DS4Forms/PresetOptionWindow.xaml.cs +++ b/DS4Windows/DS4Forms/PresetOptionWindow.xaml.cs @@ -1,10 +1,8 @@ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; -using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; diff --git a/DS4Windows/DS4Forms/ProfileEditor.xaml.cs b/DS4Windows/DS4Forms/ProfileEditor.xaml.cs index d8c3193..58365cd 100644 --- a/DS4Windows/DS4Forms/ProfileEditor.xaml.cs +++ b/DS4Windows/DS4Forms/ProfileEditor.xaml.cs @@ -1,16 +1,13 @@ using System; using System.Collections.Generic; using System.IO; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; -using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; -using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using NonFormTimer = System.Timers.Timer; diff --git a/DS4Windows/DS4Forms/RecordBox.xaml.cs b/DS4Windows/DS4Forms/RecordBox.xaml.cs index 6b5711e..a869a4b 100644 --- a/DS4Windows/DS4Forms/RecordBox.xaml.cs +++ b/DS4Windows/DS4Forms/RecordBox.xaml.cs @@ -17,17 +17,14 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; -using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; -using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using NonFormTimer = System.Timers.Timer; diff --git a/DS4Windows/DS4Forms/RecordBoxWindow.xaml.cs b/DS4Windows/DS4Forms/RecordBoxWindow.xaml.cs index c6b1e5c..ca1f9ef 100644 --- a/DS4Windows/DS4Forms/RecordBoxWindow.xaml.cs +++ b/DS4Windows/DS4Forms/RecordBoxWindow.xaml.cs @@ -17,12 +17,10 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; -using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; diff --git a/DS4Windows/DS4Forms/StickCalibrationWindow.xaml.cs b/DS4Windows/DS4Forms/StickCalibrationWindow.xaml.cs index e48f636..994b8a6 100644 --- a/DS4Windows/DS4Forms/StickCalibrationWindow.xaml.cs +++ b/DS4Windows/DS4Forms/StickCalibrationWindow.xaml.cs @@ -1,6 +1,5 @@ using System; using System.Windows; -using DS4Windows; using DS4WinWPF.DS4Forms.ViewModels; namespace DS4WinWPF.DS4Forms; diff --git a/DS4Windows/DS4Forms/TouchButtonUserControl.xaml.cs b/DS4Windows/DS4Forms/TouchButtonUserControl.xaml.cs index b808631..5522dfa 100644 --- a/DS4Windows/DS4Forms/TouchButtonUserControl.xaml.cs +++ b/DS4Windows/DS4Forms/TouchButtonUserControl.xaml.cs @@ -16,14 +16,12 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; -using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; diff --git a/DS4Windows/DS4Forms/UpdaterWindow.xaml.cs b/DS4Windows/DS4Forms/UpdaterWindow.xaml.cs index dbddb2c..0af04af 100644 --- a/DS4Windows/DS4Forms/UpdaterWindow.xaml.cs +++ b/DS4Windows/DS4Forms/UpdaterWindow.xaml.cs @@ -20,7 +20,6 @@ You should have received a copy of the GNU General Public License using System; using System.Threading.Tasks; using System.Windows; -using DS4Windows; namespace DS4WinWPF.DS4Forms { diff --git a/DS4Windows/DS4Forms/UtilMethods.cs b/DS4Windows/DS4Forms/UtilMethods.cs index 0693dca..237b102 100644 --- a/DS4Windows/DS4Forms/UtilMethods.cs +++ b/DS4Windows/DS4Forms/UtilMethods.cs @@ -16,9 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; diff --git a/DS4Windows/DS4Forms/ViewModels/AutoProfilesViewModel.cs b/DS4Windows/DS4Forms/ViewModels/AutoProfilesViewModel.cs index ead349e..fb04732 100644 --- a/DS4Windows/DS4Forms/ViewModels/AutoProfilesViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/AutoProfilesViewModel.cs @@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License using System.Collections.ObjectModel; using System.Drawing; using System.IO; -using System.Linq; using System.Runtime.InteropServices; using System.Security; using System.Text; diff --git a/DS4Windows/DS4Forms/ViewModels/BindingWindowViewModel.cs b/DS4Windows/DS4Forms/ViewModels/BindingWindowViewModel.cs index 44f99a1..62cfb91 100644 --- a/DS4Windows/DS4Forms/ViewModels/BindingWindowViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/BindingWindowViewModel.cs @@ -19,9 +19,7 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Linq; using System.Text; -using System.Threading.Tasks; using System.Windows; using System.Windows.Media; using DS4Windows; diff --git a/DS4Windows/DS4Forms/ViewModels/ChangelogViewModel.cs b/DS4Windows/DS4Forms/ViewModels/ChangelogViewModel.cs index 8b2fbb8..b75c6d0 100644 --- a/DS4Windows/DS4Forms/ViewModels/ChangelogViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/ChangelogViewModel.cs @@ -17,16 +17,13 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using System.Windows.Documents; using HttpProgress; using System.Text.Json; using DS4Windows; -using MarkdownEngine = MdXaml.Markdown; namespace DS4WinWPF.DS4Forms.ViewModels { diff --git a/DS4Windows/DS4Forms/ViewModels/ControllerListViewModel.cs b/DS4Windows/DS4Forms/ViewModels/ControllerListViewModel.cs index 5798037..050702c 100644 --- a/DS4Windows/DS4Forms/ViewModels/ControllerListViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/ControllerListViewModel.cs @@ -20,7 +20,6 @@ You should have received a copy of the GNU General Public License using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/DS4Windows/DS4Forms/ViewModels/ControllerRegDeviceOptsViewModel.cs b/DS4Windows/DS4Forms/ViewModels/ControllerRegDeviceOptsViewModel.cs index f282a09..cc8c3f3 100644 --- a/DS4Windows/DS4Forms/ViewModels/ControllerRegDeviceOptsViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/ControllerRegDeviceOptsViewModel.cs @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.Linq; using System.Text; using System.Threading.Tasks; using DS4Windows; diff --git a/DS4Windows/DS4Forms/ViewModels/CurrentOutDeviceViewModel.cs b/DS4Windows/DS4Forms/ViewModels/CurrentOutDeviceViewModel.cs index c681c11..e30f5cd 100644 --- a/DS4Windows/DS4Forms/ViewModels/CurrentOutDeviceViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/CurrentOutDeviceViewModel.cs @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/DS4Windows/DS4Forms/ViewModels/FirstLauchUtilViewModel.cs b/DS4Windows/DS4Forms/ViewModels/FirstLauchUtilViewModel.cs index be2fa49..71b1613 100644 --- a/DS4Windows/DS4Forms/ViewModels/FirstLauchUtilViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/FirstLauchUtilViewModel.cs @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License */ using DS4Windows; -using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/DS4Windows/DS4Forms/ViewModels/LanguagePackViewModel.cs b/DS4Windows/DS4Forms/ViewModels/LanguagePackViewModel.cs index 70f85fa..269d6b1 100644 --- a/DS4Windows/DS4Forms/ViewModels/LanguagePackViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/LanguagePackViewModel.cs @@ -22,7 +22,6 @@ You should have received a copy of the GNU General Public License using System.IO; using System.Linq; using System.Reflection; -using System.Text; using System.Threading; using System.Threading.Tasks; using DS4Windows; diff --git a/DS4Windows/DS4Forms/ViewModels/RecordBoxViewModel.cs b/DS4Windows/DS4Forms/ViewModels/RecordBoxViewModel.cs index 4596923..de55fc1 100644 --- a/DS4Windows/DS4Forms/ViewModels/RecordBoxViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/RecordBoxViewModel.cs @@ -21,7 +21,6 @@ You should have received a copy of the GNU General Public License using System.Collections.ObjectModel; using System.Diagnostics; using System.IO; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; diff --git a/DS4Windows/DS4Forms/ViewModels/RenameProfileViewModel.cs b/DS4Windows/DS4Forms/ViewModels/RenameProfileViewModel.cs index 9fe5321..1ef7f30 100644 --- a/DS4Windows/DS4Forms/ViewModels/RenameProfileViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/RenameProfileViewModel.cs @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/DS4Windows/DS4Forms/ViewModels/SettingsViewModel.cs b/DS4Windows/DS4Forms/ViewModels/SettingsViewModel.cs index 3aed58f..d78fda1 100644 --- a/DS4Windows/DS4Forms/ViewModels/SettingsViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/SettingsViewModel.cs @@ -18,9 +18,7 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.Diagnostics; using System.IO; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; diff --git a/DS4Windows/DS4Forms/ViewModels/SpecialActEditorViewModel.cs b/DS4Windows/DS4Forms/ViewModels/SpecialActEditorViewModel.cs index 785c8b6..b791ce0 100644 --- a/DS4Windows/DS4Forms/ViewModels/SpecialActEditorViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/SpecialActEditorViewModel.cs @@ -16,10 +16,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections; using System.Collections.Generic; -using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/DS4Windows/DS4Forms/ViewModels/SpecialActions/CheckBatteryViewModel.cs b/DS4Windows/DS4Forms/ViewModels/SpecialActions/CheckBatteryViewModel.cs index 9adc577..582bbfa 100644 --- a/DS4Windows/DS4Forms/ViewModels/SpecialActions/CheckBatteryViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/SpecialActions/CheckBatteryViewModel.cs @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; diff --git a/DS4Windows/DS4Forms/ViewModels/SpecialActions/LaunchProgramViewModel.cs b/DS4Windows/DS4Forms/ViewModels/SpecialActions/LaunchProgramViewModel.cs index 640ff65..2de33f9 100644 --- a/DS4Windows/DS4Forms/ViewModels/SpecialActions/LaunchProgramViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/SpecialActions/LaunchProgramViewModel.cs @@ -20,7 +20,6 @@ You should have received a copy of the GNU General Public License using System.Collections.Generic; using System.Drawing; using System.IO; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; diff --git a/DS4Windows/DS4Forms/ViewModels/SpecialActions/LoadProfileViewModel.cs b/DS4Windows/DS4Forms/ViewModels/SpecialActions/LoadProfileViewModel.cs index 91cfc21..0976a6f 100644 --- a/DS4Windows/DS4Forms/ViewModels/SpecialActions/LoadProfileViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/SpecialActions/LoadProfileViewModel.cs @@ -18,9 +18,7 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.Collections.ObjectModel; using System.Linq; -using System.Text; using System.Threading.Tasks; using DS4Windows; using DS4WinWPF.DS4Forms.ViewModels.Util; diff --git a/DS4Windows/DS4Forms/ViewModels/SpecialActions/MacroViewModel.cs b/DS4Windows/DS4Forms/ViewModels/SpecialActions/MacroViewModel.cs index a9538b6..7f0cc81 100644 --- a/DS4Windows/DS4Forms/ViewModels/SpecialActions/MacroViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/SpecialActions/MacroViewModel.cs @@ -17,11 +17,8 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections; using System.Collections.Generic; -using System.ComponentModel; using System.Linq; -using System.Text; using System.Threading.Tasks; using DS4Windows; using DS4WinWPF.DS4Forms.ViewModels.Util; diff --git a/DS4Windows/DS4Forms/ViewModels/SpecialActions/MultiActButtonViewModel.cs b/DS4Windows/DS4Forms/ViewModels/SpecialActions/MultiActButtonViewModel.cs index b2be7a8..d0f6c16 100644 --- a/DS4Windows/DS4Forms/ViewModels/SpecialActions/MultiActButtonViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/SpecialActions/MultiActButtonViewModel.cs @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.Linq; using System.Text; using System.Threading.Tasks; using DS4Windows; diff --git a/DS4Windows/DS4Forms/ViewModels/SpecialActions/PressKeyViewModel.cs b/DS4Windows/DS4Forms/ViewModels/SpecialActions/PressKeyViewModel.cs index eb93112..494a5e5 100644 --- a/DS4Windows/DS4Forms/ViewModels/SpecialActions/PressKeyViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/SpecialActions/PressKeyViewModel.cs @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; diff --git a/DS4Windows/DS4Forms/ViewModels/SpecialActionsListViewModel.cs b/DS4Windows/DS4Forms/ViewModels/SpecialActionsListViewModel.cs index 2678754..53eac36 100644 --- a/DS4Windows/DS4Forms/ViewModels/SpecialActionsListViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/SpecialActionsListViewModel.cs @@ -20,7 +20,6 @@ You should have received a copy of the GNU General Public License using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; -using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; diff --git a/DS4Windows/DS4Forms/ViewModels/TouchButtonUserControlViewModel.cs b/DS4Windows/DS4Forms/ViewModels/TouchButtonUserControlViewModel.cs index ada90cc..91f805c 100644 --- a/DS4Windows/DS4Forms/ViewModels/TouchButtonUserControlViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/TouchButtonUserControlViewModel.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/DS4Windows/DS4Forms/ViewModels/Util/EnumChoiceSelection.cs b/DS4Windows/DS4Forms/ViewModels/Util/EnumChoiceSelection.cs index 8c5ae18..0bc78c4 100644 --- a/DS4Windows/DS4Forms/ViewModels/Util/EnumChoiceSelection.cs +++ b/DS4Windows/DS4Forms/ViewModels/Util/EnumChoiceSelection.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; namespace DS4WinWPF.DS4Forms.ViewModels.Util { diff --git a/DS4Windows/DS4Forms/ViewModels/Util/EventHandlers.cs b/DS4Windows/DS4Forms/ViewModels/Util/EventHandlers.cs index d867e9a..cdd42aa 100644 --- a/DS4Windows/DS4Forms/ViewModels/Util/EventHandlers.cs +++ b/DS4Windows/DS4Forms/ViewModels/Util/EventHandlers.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; namespace DS4WinWPF.DS4Forms.ViewModels.Util { diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index e92db9e..3b99d45 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -18,13 +18,11 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; -using System.ComponentModel; using System.Threading; using System.Runtime.InteropServices; using System.Diagnostics; -using System.Linq; using System.Drawing; using DS4WinWPF.DS4Control; diff --git a/DS4Windows/DS4Library/InputDevices/DualSenseDevice.cs b/DS4Windows/DS4Library/InputDevices/DualSenseDevice.cs index b3cad27..dd6fff2 100644 --- a/DS4Windows/DS4Library/InputDevices/DualSenseDevice.cs +++ b/DS4Windows/DS4Library/InputDevices/DualSenseDevice.cs @@ -19,11 +19,8 @@ You should have received a copy of the GNU General Public License using System; using System.Collections.Generic; using System.Diagnostics; -using System.Linq; using System.Runtime.InteropServices; -using System.Text; using System.Threading; -using System.Threading.Tasks; using DS4Windows; namespace DS4Windows.InputDevices diff --git a/DS4Windows/DS4Library/InputDevices/InputDeviceFactory.cs b/DS4Windows/DS4Library/InputDevices/InputDeviceFactory.cs index 54544f1..7b36aec 100644 --- a/DS4Windows/DS4Library/InputDevices/InputDeviceFactory.cs +++ b/DS4Windows/DS4Library/InputDevices/InputDeviceFactory.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs b/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs index 76dce42..7b016a3 100644 --- a/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs +++ b/DS4Windows/DS4Library/InputDevices/JoyConDevice.cs @@ -21,9 +21,7 @@ You should have received a copy of the GNU General Public License using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; -using System.Text; using System.Threading; -using System.Threading.Tasks; namespace DS4Windows.InputDevices { diff --git a/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs b/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs index 7782942..2bc991d 100644 --- a/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs +++ b/DS4Windows/DS4Library/InputDevices/SwitchProDevice.cs @@ -21,9 +21,7 @@ You should have received a copy of the GNU General Public License using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; -using System.Text; using System.Threading; -using System.Threading.Tasks; namespace DS4Windows.InputDevices { diff --git a/DS4Windows/DS4Library/InputDevices/TriggerEffects.cs b/DS4Windows/DS4Library/InputDevices/TriggerEffects.cs index 8682c04..2491547 100644 --- a/DS4Windows/DS4Library/InputDevices/TriggerEffects.cs +++ b/DS4Windows/DS4Library/InputDevices/TriggerEffects.cs @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/DS4Windows/HidLibrary/HidDevice.cs b/DS4Windows/HidLibrary/HidDevice.cs index d8a33a1..d6ef542 100644 --- a/DS4Windows/HidLibrary/HidDevice.cs +++ b/DS4Windows/HidLibrary/HidDevice.cs @@ -1,11 +1,9 @@ using System; using System.Runtime.InteropServices; using System.Threading; -using System.IO; using System.Threading.Tasks; using Windows.Win32; using Windows.Win32.Foundation; -using Windows.Win32.Security; using Windows.Win32.Storage.FileSystem; using Microsoft.Win32.SafeHandles; namespace DS4Windows diff --git a/DS4Windows/LogItem.cs b/DS4Windows/LogItem.cs index 1f3f7e0..219be92 100644 --- a/DS4Windows/LogItem.cs +++ b/DS4Windows/LogItem.cs @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/DS4Windows/LoggerHolder.cs b/DS4Windows/LoggerHolder.cs index a9b861c..0dbd91d 100644 --- a/DS4Windows/LoggerHolder.cs +++ b/DS4Windows/LoggerHolder.cs @@ -16,12 +16,10 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; -using System.Threading.Tasks; using DS4Windows; using NLog; using NLog.Targets.Wrappers; diff --git a/DS4Windows/OneEuroFilter.cs b/DS4Windows/OneEuroFilter.cs index ba0e070..b4d0fc6 100644 --- a/DS4Windows/OneEuroFilter.cs +++ b/DS4Windows/OneEuroFilter.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using System.Text; using System.Diagnostics; diff --git a/DS4Windows/ProfileEntity.cs b/DS4Windows/ProfileEntity.cs index 3b0c009..13f2f2a 100644 --- a/DS4Windows/ProfileEntity.cs +++ b/DS4Windows/ProfileEntity.cs @@ -17,9 +17,7 @@ You should have received a copy of the GNU General Public License */ using System; -using System.Collections.Generic; using System.IO; -using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/DS4Windows/ProfileList.cs b/DS4Windows/ProfileList.cs index 7a6addd..deb7162 100644 --- a/DS4Windows/ProfileList.cs +++ b/DS4Windows/ProfileList.cs @@ -16,12 +16,10 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; -using System.Text; using System.Threading.Tasks; using System.Windows.Data;