mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-13 16:49:08 +01:00
Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay
This commit is contained in:
commit
95839177ba
@ -3786,8 +3786,8 @@ namespace DS4Windows
|
||||
catch { missingSetting = true; }
|
||||
try { Item = m_Xdoc.SelectSingleNode("/Profile/SwipeProfiles"); Boolean.TryParse(Item.InnerText, out swipeProfiles); }
|
||||
catch { missingSetting = true; }
|
||||
try { Item = m_Xdoc.SelectSingleNode("/Profile/UseDS4ForMapping"); Boolean.TryParse(Item.InnerText, out ds4Mapping); }
|
||||
catch { missingSetting = true; }
|
||||
//try { Item = m_Xdoc.SelectSingleNode("/Profile/UseDS4ForMapping"); Boolean.TryParse(Item.InnerText, out ds4Mapping); }
|
||||
//catch { missingSetting = true; }
|
||||
try { Item = m_Xdoc.SelectSingleNode("/Profile/QuickCharge"); Boolean.TryParse(Item.InnerText, out quickCharge); }
|
||||
catch { missingSetting = true; }
|
||||
try { Item = m_Xdoc.SelectSingleNode("/Profile/CloseMinimizes"); Boolean.TryParse(Item.InnerText, out closeMini); }
|
||||
@ -3871,7 +3871,7 @@ namespace DS4Windows
|
||||
XmlNode xmlNotifications = m_Xdoc.CreateNode(XmlNodeType.Element, "Notifications", null); xmlNotifications.InnerText = notifications.ToString(); Node.AppendChild(xmlNotifications);
|
||||
XmlNode xmlDisconnectBT = m_Xdoc.CreateNode(XmlNodeType.Element, "DisconnectBTAtStop", null); xmlDisconnectBT.InnerText = disconnectBTAtStop.ToString(); Node.AppendChild(xmlDisconnectBT);
|
||||
XmlNode xmlSwipeProfiles = m_Xdoc.CreateNode(XmlNodeType.Element, "SwipeProfiles", null); xmlSwipeProfiles.InnerText = swipeProfiles.ToString(); Node.AppendChild(xmlSwipeProfiles);
|
||||
XmlNode xmlDS4Mapping = m_Xdoc.CreateNode(XmlNodeType.Element, "UseDS4ForMapping", null); xmlDS4Mapping.InnerText = ds4Mapping.ToString(); Node.AppendChild(xmlDS4Mapping);
|
||||
//XmlNode xmlDS4Mapping = m_Xdoc.CreateNode(XmlNodeType.Element, "UseDS4ForMapping", null); xmlDS4Mapping.InnerText = ds4Mapping.ToString(); Node.AppendChild(xmlDS4Mapping);
|
||||
XmlNode xmlQuickCharge = m_Xdoc.CreateNode(XmlNodeType.Element, "QuickCharge", null); xmlQuickCharge.InnerText = quickCharge.ToString(); Node.AppendChild(xmlQuickCharge);
|
||||
XmlNode xmlCloseMini = m_Xdoc.CreateNode(XmlNodeType.Element, "CloseMinimizes", null); xmlCloseMini.InnerText = closeMini.ToString(); Node.AppendChild(xmlCloseMini);
|
||||
XmlNode xmlUseLang = m_Xdoc.CreateNode(XmlNodeType.Element, "UseLang", null); xmlUseLang.InnerText = useLang.ToString(); Node.AppendChild(xmlUseLang);
|
||||
@ -4649,6 +4649,7 @@ namespace DS4Windows
|
||||
trackballMode[device] = false;
|
||||
trackballFriction[device] = 10.0;
|
||||
outputDevType[device] = OutContType.X360;
|
||||
ds4Mapping = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,7 @@ namespace DS4Windows.Forms
|
||||
//pnl360Controls.BackgroundImage = null;
|
||||
//pnl360Controls.BackgroundImageLayout = ImageLayout.None;
|
||||
use360 = true;
|
||||
device = deviceNum;
|
||||
pnl360Controls.Paint -= pnl360Controls_Paint;
|
||||
if (Global.outDevTypeTemp[device] == OutContType.DS4)
|
||||
{
|
||||
@ -49,7 +50,6 @@ namespace DS4Windows.Forms
|
||||
pnlDS4Controls.Show();
|
||||
}
|
||||
|
||||
device = deviceNum;
|
||||
ops = ooo;
|
||||
button = buton;
|
||||
DS4ControlSettings dcs = Global.getDS4CSetting(device, button.Name);
|
||||
|
@ -1005,6 +1005,7 @@ namespace DS4Windows.Forms
|
||||
if (idxSASteeringWheelEmulationRange >= 0) cBSteeringWheelEmulationRange.SelectedIndex = idxSASteeringWheelEmulationRange;
|
||||
|
||||
OutContType tempOutType = Global.OutContType[device];
|
||||
Global.outDevTypeTemp[device] = tempOutType;
|
||||
devOutContType = tempOutType;
|
||||
switch(tempOutType)
|
||||
{
|
||||
@ -1190,6 +1191,8 @@ namespace DS4Windows.Forms
|
||||
gyroMStickUseSmoothCk.Checked = false;
|
||||
gyroMStickSmoothWeightNUD.Enabled = false;
|
||||
gyroMStickSmoothWeightNUD.Value = 0.5m;
|
||||
Global.outDevTypeTemp[device] = OutContType.X360;
|
||||
devOutContType = OutContType.X360;
|
||||
|
||||
Set();
|
||||
}
|
||||
@ -3638,6 +3641,7 @@ namespace DS4Windows.Forms
|
||||
default: break;
|
||||
}
|
||||
|
||||
Global.outDevTypeTemp[device] = tempType;
|
||||
devOutContType = tempType;
|
||||
UpdateLists();
|
||||
}
|
||||
|
12
DS4Windows/DS4Forms/RecordBox.Designer.cs
generated
12
DS4Windows/DS4Forms/RecordBox.Designer.cs
generated
@ -88,6 +88,7 @@
|
||||
this.lVMacros.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.cHMacro});
|
||||
this.lVMacros.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
||||
this.lVMacros.HideSelection = false;
|
||||
this.lVMacros.LargeImageList = this.iLKeys;
|
||||
this.lVMacros.MultiSelect = false;
|
||||
this.lVMacros.Name = "lVMacros";
|
||||
@ -166,15 +167,15 @@
|
||||
//
|
||||
// pBRtouch
|
||||
//
|
||||
resources.ApplyResources(this.pBRtouch, "pBRtouch");
|
||||
this.pBRtouch.Image = global::DS4Windows.Properties.Resources.right_touch;
|
||||
resources.ApplyResources(this.pBRtouch, "pBRtouch");
|
||||
this.pBRtouch.Name = "pBRtouch";
|
||||
this.pBRtouch.TabStop = false;
|
||||
//
|
||||
// pBLtouch
|
||||
//
|
||||
resources.ApplyResources(this.pBLtouch, "pBLtouch");
|
||||
this.pBLtouch.Image = global::DS4Windows.Properties.Resources.left_touch;
|
||||
resources.ApplyResources(this.pBLtouch, "pBLtouch");
|
||||
this.pBLtouch.Name = "pBLtouch";
|
||||
this.pBLtouch.TabStop = false;
|
||||
//
|
||||
@ -227,7 +228,6 @@
|
||||
//
|
||||
// openPresets
|
||||
//
|
||||
this.openPresets.FileName = "openFileDialog1";
|
||||
resources.ApplyResources(this.openPresets, "openPresets");
|
||||
//
|
||||
// lbMacroOrder
|
||||
@ -242,24 +242,24 @@
|
||||
//
|
||||
// cMSLoadPresets
|
||||
//
|
||||
resources.ApplyResources(this.cMSLoadPresets, "cMSLoadPresets");
|
||||
this.cMSLoadPresets.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||
this.cMSLoadPresets.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.altTabToolStripMenuItem,
|
||||
this.fromFileToolStripMenuItem});
|
||||
this.cMSLoadPresets.Name = "cMSLoadPresets";
|
||||
this.cMSLoadPresets.ShowImageMargin = false;
|
||||
resources.ApplyResources(this.cMSLoadPresets, "cMSLoadPresets");
|
||||
//
|
||||
// altTabToolStripMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.altTabToolStripMenuItem, "altTabToolStripMenuItem");
|
||||
this.altTabToolStripMenuItem.Name = "altTabToolStripMenuItem";
|
||||
resources.ApplyResources(this.altTabToolStripMenuItem, "altTabToolStripMenuItem");
|
||||
this.altTabToolStripMenuItem.Click += new System.EventHandler(this.altTabToolStripMenuItem_Click);
|
||||
//
|
||||
// fromFileToolStripMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.fromFileToolStripMenuItem, "fromFileToolStripMenuItem");
|
||||
this.fromFileToolStripMenuItem.Name = "fromFileToolStripMenuItem";
|
||||
resources.ApplyResources(this.fromFileToolStripMenuItem, "fromFileToolStripMenuItem");
|
||||
this.fromFileToolStripMenuItem.Click += new System.EventHandler(this.fromFileToolStripMenuItem_Click);
|
||||
//
|
||||
// RecordBox
|
||||
|
@ -42,7 +42,7 @@ namespace DS4Windows.Forms
|
||||
AddtoDS4List();
|
||||
//ds4.Tick += ds4_Tick;
|
||||
ds4.Elapsed += Ds4_Tick;
|
||||
ds4.Interval = 1;
|
||||
ds4.Interval = 10;
|
||||
if (kbm.macrostag.Count > 0)
|
||||
{
|
||||
macros.AddRange(kbm.macrostag);
|
||||
@ -66,7 +66,7 @@ namespace DS4Windows.Forms
|
||||
|
||||
//ds4.Tick += ds4_Tick;
|
||||
ds4.Elapsed += Ds4_Tick;
|
||||
ds4.Interval = 1;
|
||||
ds4.Interval = 10;
|
||||
lbRecordTip.Visible = false;
|
||||
cBStyle.Visible = false;
|
||||
pnlMouseButtons.Location = new Point(pnlMouseButtons.Location.X, pnlMouseButtons.Location.Y - 75);
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -73,7 +73,7 @@ namespace DS4Windows.Forms
|
||||
if (File.Exists(exepath + $"\\{InstFileName}"))
|
||||
{
|
||||
bnStep1.Text = Properties.Resources.OpeningInstaller;
|
||||
monitorProc = Process.Start(exepath + $"\\{InstFileName}");
|
||||
monitorProc = Process.Start(exepath + $"\\{InstFileName}", "/exenoupdates");
|
||||
bnStep1.Text = Properties.Resources.Installing;
|
||||
}
|
||||
|
||||
|
@ -117,8 +117,9 @@
|
||||
<WarningLevel>1</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.Win32.TaskScheduler, Version=2.8.0.0, Culture=neutral, PublicKeyToken=c416bc1b32d97233, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\TaskScheduler.2.8.0\lib\net452\Microsoft.Win32.TaskScheduler.dll</HintPath>
|
||||
<Reference Include="Microsoft.Win32.TaskScheduler, Version=2.8.15.0, Culture=neutral, PublicKeyToken=c416bc1b32d97233, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\TaskScheduler.2.8.15\lib\net452\Microsoft.Win32.TaskScheduler.dll</HintPath>
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
</Reference>
|
||||
<Reference Include="Nefarius.ViGEm.Client" Condition="'$(Platform)' == 'x64'">
|
||||
<HintPath>.\libs\x64\Nefarius.ViGEm.Client\Nefarius.ViGEm.Client.dll</HintPath>
|
||||
@ -1122,7 +1123,6 @@
|
||||
<EmbeddedResource Include="Properties\Resources.zh-hans.resx" />
|
||||
<EmbeddedResource Include="Properties\Resources.zh-Hant.resx" />
|
||||
<None Include="app.manifest" />
|
||||
<None Include="packages.config" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
@ -1141,6 +1141,7 @@
|
||||
</Content>
|
||||
<Content Include="HidLibrary\LICENSE" />
|
||||
<Content Include="Resources\360 fades.png" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Resources\360 map.png" />
|
||||
<None Include="Resources\360 highlight.png" />
|
||||
<Content Include="Resources\A.PNG" />
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="TaskScheduler" version="2.8.0" targetFramework="net452" />
|
||||
<package id="TaskScheduler" version="2.8.15" targetFramework="net462" />
|
||||
</packages>
|
Loading…
x
Reference in New Issue
Block a user