mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-23 21:51:09 +01:00
Move Forms to seperate namespace
This commit is contained in:
parent
78dcbe666c
commit
f01c86deee
2
DS4Windows/DS4Forms/DS4Form.Designer.cs
generated
2
DS4Windows/DS4Forms/DS4Form.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class DS4Form
|
partial class DS4Form
|
||||||
{
|
{
|
||||||
|
@ -19,7 +19,7 @@ using static DS4Windows.Global;
|
|||||||
using System.Security;
|
using System.Security;
|
||||||
using System.Management;
|
using System.Management;
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
[SuppressUnmanagedCodeSecurity]
|
[SuppressUnmanagedCodeSecurity]
|
||||||
public partial class DS4Form : Form
|
public partial class DS4Form : Form
|
||||||
|
2
DS4Windows/DS4Forms/DS4Keyboard.Designer.cs
generated
2
DS4Windows/DS4Forms/DS4Keyboard.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class DS4Keyboard
|
partial class DS4Keyboard
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
public partial class DS4Keyboard : Form
|
public partial class DS4Keyboard : Form
|
||||||
{
|
{
|
||||||
|
2
DS4Windows/DS4Forms/DupBox.Designer.cs
generated
2
DS4Windows/DS4Forms/DupBox.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class DupBox
|
partial class DupBox
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
public partial class DupBox : Form
|
public partial class DupBox : Form
|
||||||
{
|
{
|
||||||
|
2
DS4Windows/DS4Forms/Hotkeys.Designer.cs
generated
2
DS4Windows/DS4Forms/Hotkeys.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class Hotkeys
|
partial class Hotkeys
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@ using System.Reflection;
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
public partial class Hotkeys : Form
|
public partial class Hotkeys : Form
|
||||||
{
|
{
|
||||||
|
2
DS4Windows/DS4Forms/KBM360.Designer.cs
generated
2
DS4Windows/DS4Forms/KBM360.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class KBM360
|
partial class KBM360
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
public partial class KBM360 : Form
|
public partial class KBM360 : Form
|
||||||
{
|
{
|
||||||
|
2
DS4Windows/DS4Forms/Options.Designer.cs
generated
2
DS4Windows/DS4Forms/Options.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class Options
|
partial class Options
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using static DS4Windows.Global;
|
using static DS4Windows.Global;
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
public partial class Options : Form
|
public partial class Options : Form
|
||||||
{
|
{
|
||||||
|
2
DS4Windows/DS4Forms/RecordBox.Designer.cs
generated
2
DS4Windows/DS4Forms/RecordBox.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class RecordBox
|
partial class RecordBox
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@ using NonFormTimer = System.Timers.Timer;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
public partial class RecordBox : Form
|
public partial class RecordBox : Form
|
||||||
{
|
{
|
||||||
|
2
DS4Windows/DS4Forms/SaveWhere.Designer.cs
generated
2
DS4Windows/DS4Forms/SaveWhere.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class SaveWhere
|
partial class SaveWhere
|
||||||
{
|
{
|
||||||
|
@ -12,7 +12,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
public partial class SaveWhere : Form
|
public partial class SaveWhere : Form
|
||||||
{
|
{
|
||||||
|
2
DS4Windows/DS4Forms/SpecActions.Designer.cs
generated
2
DS4Windows/DS4Forms/SpecActions.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class SpecActions
|
partial class SpecActions
|
||||||
{
|
{
|
||||||
|
@ -10,7 +10,7 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
public partial class SpecActions : Form
|
public partial class SpecActions : Form
|
||||||
{
|
{
|
||||||
|
2
DS4Windows/DS4Forms/WelcomeDialog.Designer.cs
generated
2
DS4Windows/DS4Forms/WelcomeDialog.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class WelcomeDialog
|
partial class WelcomeDialog
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@ using NonFormTimer = System.Timers.Timer;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using static DS4Windows.Global;
|
using static DS4Windows.Global;
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
public partial class WelcomeDialog : Form
|
public partial class WelcomeDialog : Form
|
||||||
{
|
{
|
||||||
|
2
DS4Windows/DS4Forms/WinProgs.Designer.cs
generated
2
DS4Windows/DS4Forms/WinProgs.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
partial class WinProgs
|
partial class WinProgs
|
||||||
{
|
{
|
||||||
|
@ -12,7 +12,7 @@ using System.Diagnostics;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using static DS4Windows.Global;
|
using static DS4Windows.Global;
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows.Forms
|
||||||
{
|
{
|
||||||
public partial class WinProgs : Form
|
public partial class WinProgs : Form
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,7 @@ namespace DS4Windows
|
|||||||
if (s == "driverinstall" || s == "-driverinstall")
|
if (s == "driverinstall" || s == "-driverinstall")
|
||||||
{
|
{
|
||||||
Application.EnableVisualStyles();
|
Application.EnableVisualStyles();
|
||||||
Application.Run(new WelcomeDialog(true));
|
Application.Run(new Forms.WelcomeDialog(true));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (s == "re-enabledevice" || s == "-re-enabledevice")
|
else if (s == "re-enabledevice" || s == "-re-enabledevice")
|
||||||
@ -109,7 +109,7 @@ namespace DS4Windows
|
|||||||
createControlService();
|
createControlService();
|
||||||
//rootHub = new ControlService();
|
//rootHub = new ControlService();
|
||||||
Application.EnableVisualStyles();
|
Application.EnableVisualStyles();
|
||||||
ds4form = new DS4Form(args);
|
ds4form = new Forms.DS4Form(args);
|
||||||
Application.Run();
|
Application.Run();
|
||||||
//mutex.ReleaseMutex();
|
//mutex.ReleaseMutex();
|
||||||
//}
|
//}
|
||||||
@ -166,10 +166,10 @@ namespace DS4Windows
|
|||||||
private delegate void SetFormVisableDelegate(Form frm);
|
private delegate void SetFormVisableDelegate(Form frm);
|
||||||
private static void ThreadFormVisable(Form frm)
|
private static void ThreadFormVisable(Form frm)
|
||||||
{
|
{
|
||||||
if (frm is DS4Form)
|
if (frm is Forms.DS4Form)
|
||||||
{
|
{
|
||||||
// display the form and bring to foreground.
|
// display the form and bring to foreground.
|
||||||
DS4Form temp = (DS4Form)frm;
|
Forms.DS4Form temp = (Forms.DS4Form)frm;
|
||||||
temp.Show();
|
temp.Show();
|
||||||
temp.WindowState = FormWindowState.Normal;
|
temp.WindowState = FormWindowState.Normal;
|
||||||
}
|
}
|
||||||
|
2
TODO.md
2
TODO.md
@ -1,7 +1,7 @@
|
|||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
* Re-evaluate HidGuardian
|
* Re-evaluate HidGuardian
|
||||||
* Move forms to new namespace
|
* ~~Move forms to new namespace~~
|
||||||
* ~~Finalize DS4 Emulation~~
|
* ~~Finalize DS4 Emulation~~
|
||||||
* ~~Raise Sixaxis default dead zones~~
|
* ~~Raise Sixaxis default dead zones~~
|
||||||
* ~~Evaluate latest ViGEmBus driver and update download URL~~
|
* ~~Evaluate latest ViGEmBus driver and update download URL~~
|
||||||
|
Loading…
x
Reference in New Issue
Block a user