Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions DS4Windows/AutoProfileChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions DS4Windows/AutoProfileHolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/BezierCurveEditor/BezierCurve.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
*
*/
using System;
using System.Globalization;

namespace DS4Windows
{
Expand Down
3 changes: 0 additions & 3 deletions DS4Windows/DS4Control/ControlServiceDeviceOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/ControllerSlotManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Threading;

Expand Down
2 changes: 0 additions & 2 deletions DS4Windows/DS4Control/DS4OutDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceBasic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace DS4Windows
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions DS4Windows/DS4Control/DTOXml/ActionsDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Serialization;
using DS4Windows;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/DTOXml/AppSettingsDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/DTOXml/AutoProfilesDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/DTOXml/DS4ControllerOptsDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Xml;
using System.Xml.Serialization;
using DS4Windows;
Expand Down
2 changes: 0 additions & 2 deletions DS4Windows/DS4Control/DTOXml/DualSenseControllerOptsDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Xml;
using System.Xml.Serialization;
using DS4Windows;
using DS4Windows.InputDevices;
using static DS4Windows.DualSenseControllerOptions;

namespace DS4WinWPF.DS4Control.DTOXml
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/DTOXml/IDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/DTOXml/JoyConControllerOptsDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Xml.Serialization;
using DS4Windows;

Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/DTOXml/LinkedProfilesDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Schema;
Expand Down
2 changes: 0 additions & 2 deletions DS4Windows/DS4Control/DTOXml/ProfileDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/DTOXml/SwitchProControllerOptsDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
3 changes: 0 additions & 3 deletions DS4Windows/DS4Control/DTOXml/XmlDataUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DS4WinWPF.DS4Control.DTOXml
{
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/DeltaAccelSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/Mapping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
using Sensorit.Base;
using DS4WinWPF.DS4Control;
using DS4WinWPF.DS4Forms.ViewModels;
using ThreadState = System.Threading.ThreadState;

namespace DS4Windows
{
Expand Down Expand Up @@ -836,7 +835,7 @@
50, // DS4Controls.BLP
51, // DS4Controls.BRP
};
private static int macroEndIndex = DS4_CONTROL_MACRO_ARRAY_LEN - 1;

Check warning on line 838 in DS4Windows/DS4Control/Mapping.cs

View workflow job for this annotation

GitHub Actions / build (x86)

The field 'Mapping.macroEndIndex' is assigned but its value is never used

Check warning on line 838 in DS4Windows/DS4Control/Mapping.cs

View workflow job for this annotation

GitHub Actions / build (x64)

The field 'Mapping.macroEndIndex' is assigned but its value is never used

// Special macros
static bool altTabDone = true;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/OutSlotDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/OutputDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;

namespace DS4Windows
{
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/OutputKBM/FakerInputHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Threading;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/OutputKBM/FakerInputMapping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Windows.Input;
using FakerInputWrapper;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/OutputKBM/VirtualKBMBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/OutputKBM/VirtualKBMFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;

namespace DS4Windows.DS4Control
{
Expand Down
2 changes: 0 additions & 2 deletions DS4Windows/DS4Control/OutputSlotManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions DS4Windows/DS4Control/OutputSlotPersist.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/PresetOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/ProfileMigration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.IO;
using System.Text;
using System.Xml;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/ScpUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using DS4Windows.InputDevices;
using DS4Windows.StickModifiers;
using DS4WinWPF.DS4Control.DTOXml;
using DS4WinWPF.DS4Forms.ViewModels;
using Sensorit.Base;
using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -8182,7 +8181,7 @@

PostProcessLoad();
}
catch (InvalidOperationException e)

Check warning on line 8184 in DS4Windows/DS4Control/ScpUtil.cs

View workflow job for this annotation

GitHub Actions / build (x86)

The variable 'e' is declared but never used

Check warning on line 8184 in DS4Windows/DS4Control/ScpUtil.cs

View workflow job for this annotation

GitHub Actions / build (x64)

The variable 'e' is declared but never used
{
AppLogger.LogToGui("Failed to load Profiles.xml.", false);
loaded = false;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/StickOutCurve.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Control/Util.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 0 additions & 2 deletions DS4Windows/DS4Control/Xbox360OutDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions DS4Windows/DS4Forms/AutoProfiles.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion DS4Windows/DS4Forms/AxialStickUserControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Windows.Controls;
using DS4Windows;
using DS4WinWPF.DS4Forms.ViewModels;
Expand Down
3 changes: 0 additions & 3 deletions DS4Windows/DS4Forms/BindingWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading
Loading