mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-25 08:01:49 +01:00
Change gyro toggle setting on mode change in form
This commit is contained in:
parent
9d907fc241
commit
3f18aec71f
@ -3586,9 +3586,13 @@ namespace DS4Windows.Forms
|
||||
break;
|
||||
case 1:
|
||||
GyroOutputMode[device] = GyroOutMode.Mouse;
|
||||
SetGyroMouseToggle(device, toggleGyroMCb.Checked,
|
||||
Program.rootHub);
|
||||
break;
|
||||
case 2:
|
||||
GyroOutputMode[device] = GyroOutMode.MouseJoystick;
|
||||
SetGyroMouseStickToggle(device,
|
||||
gyroMStickToggleCk.Checked, Program.rootHub);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -5367,6 +5367,243 @@
|
||||
<data name=">>btnSteeringWheelEmulationCalibrate.ZOrder" xml:space="preserve">
|
||||
<value>12</value>
|
||||
</data>
|
||||
<data name=">>label36.Name" xml:space="preserve">
|
||||
<value>label36</value>
|
||||
</data>
|
||||
<data name=">>label36.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>label36.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>label36.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>btnGyroMStickTrig.Name" xml:space="preserve">
|
||||
<value>btnGyroMStickTrig</value>
|
||||
</data>
|
||||
<data name=">>btnGyroMStickTrig.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>btnGyroMStickTrig.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>btnGyroMStickTrig.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name=">>gyroMStickTrigBehaveCk.Name" xml:space="preserve">
|
||||
<value>gyroMStickTrigBehaveCk</value>
|
||||
</data>
|
||||
<data name=">>gyroMStickTrigBehaveCk.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMStickTrigBehaveCk.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMStickTrigBehaveCk.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name=">>gyroMStickToggleCk.Name" xml:space="preserve">
|
||||
<value>gyroMStickToggleCk</value>
|
||||
</data>
|
||||
<data name=">>gyroMStickToggleCk.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMStickToggleCk.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMStickToggleCk.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name=">>label29.Name" xml:space="preserve">
|
||||
<value>label29</value>
|
||||
</data>
|
||||
<data name=">>label29.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>label29.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>label29.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickDZ.Name" xml:space="preserve">
|
||||
<value>gyroMouseStickDZ</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickDZ.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickDZ.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickDZ.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name=">>label30.Name" xml:space="preserve">
|
||||
<value>label30</value>
|
||||
</data>
|
||||
<data name=">>label30.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>label30.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>label30.ZOrder" xml:space="preserve">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickMaxZ.Name" xml:space="preserve">
|
||||
<value>gyroMouseStickMaxZ</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickMaxZ.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickMaxZ.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickMaxZ.ZOrder" xml:space="preserve">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name=">>label31.Name" xml:space="preserve">
|
||||
<value>label31</value>
|
||||
</data>
|
||||
<data name=">>label31.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>label31.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>label31.ZOrder" xml:space="preserve">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickAntiDeadX.Name" xml:space="preserve">
|
||||
<value>gyroMouseStickAntiDeadX</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickAntiDeadX.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickAntiDeadX.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickAntiDeadX.ZOrder" xml:space="preserve">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name=">>label32.Name" xml:space="preserve">
|
||||
<value>label32</value>
|
||||
</data>
|
||||
<data name=">>label32.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>label32.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>label32.ZOrder" xml:space="preserve">
|
||||
<value>10</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickAntiDeadY.Name" xml:space="preserve">
|
||||
<value>gyroMouseStickAntiDeadY</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickAntiDeadY.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickAntiDeadY.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickAntiDeadY.ZOrder" xml:space="preserve">
|
||||
<value>11</value>
|
||||
</data>
|
||||
<data name=">>label35.Name" xml:space="preserve">
|
||||
<value>label35</value>
|
||||
</data>
|
||||
<data name=">>label35.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>label35.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>label35.ZOrder" xml:space="preserve">
|
||||
<value>12</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickEvalCombo.Name" xml:space="preserve">
|
||||
<value>gyroMouseStickEvalCombo</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickEvalCombo.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickEvalCombo.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickEvalCombo.ZOrder" xml:space="preserve">
|
||||
<value>13</value>
|
||||
</data>
|
||||
<data name=">>label33.Name" xml:space="preserve">
|
||||
<value>label33</value>
|
||||
</data>
|
||||
<data name=">>label33.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>label33.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>label33.ZOrder" xml:space="preserve">
|
||||
<value>14</value>
|
||||
</data>
|
||||
<data name=">>gyroMousestickXAxisCom.Name" xml:space="preserve">
|
||||
<value>gyroMousestickXAxisCom</value>
|
||||
</data>
|
||||
<data name=">>gyroMousestickXAxisCom.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMousestickXAxisCom.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMousestickXAxisCom.ZOrder" xml:space="preserve">
|
||||
<value>15</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickInvertXCk.Name" xml:space="preserve">
|
||||
<value>gyroMouseStickInvertXCk</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickInvertXCk.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickInvertXCk.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickInvertXCk.ZOrder" xml:space="preserve">
|
||||
<value>16</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickInvertYCk.Name" xml:space="preserve">
|
||||
<value>gyroMouseStickInvertYCk</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickInvertYCk.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickInvertYCk.Parent" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseStickInvertYCk.ZOrder" xml:space="preserve">
|
||||
<value>17</value>
|
||||
</data>
|
||||
<data name="gyroMouseJoyFLP.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>8, 47</value>
|
||||
</data>
|
||||
<data name="gyroMouseJoyFLP.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>252, 181</value>
|
||||
</data>
|
||||
<data name="gyroMouseJoyFLP.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>260</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseJoyFLP.Name" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseJoyFLP.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseJoyFLP.Parent" xml:space="preserve">
|
||||
<value>gBGyro</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseJoyFLP.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="label36.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
@ -5850,27 +6087,6 @@
|
||||
<data name=">>gyroMouseStickInvertYCk.ZOrder" xml:space="preserve">
|
||||
<value>17</value>
|
||||
</data>
|
||||
<data name="gyroMouseJoyFLP.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>8, 47</value>
|
||||
</data>
|
||||
<data name="gyroMouseJoyFLP.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>252, 181</value>
|
||||
</data>
|
||||
<data name="gyroMouseJoyFLP.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>260</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseJoyFLP.Name" xml:space="preserve">
|
||||
<value>gyroMouseJoyFLP</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseJoyFLP.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseJoyFLP.Parent" xml:space="preserve">
|
||||
<value>gBGyro</value>
|
||||
</data>
|
||||
<data name=">>gyroMouseJoyFLP.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>tPControls.Name" xml:space="preserve">
|
||||
<value>tPControls</value>
|
||||
</data>
|
||||
|
Loading…
Reference in New Issue
Block a user