diff --git a/DualSenseSupport/DeviceInfo.cs b/DualSenseSupport/DeviceInfo.cs index e25e21c..a615933 100644 --- a/DualSenseSupport/DeviceInfo.cs +++ b/DualSenseSupport/DeviceInfo.cs @@ -89,9 +89,16 @@ public void Send() var outputReport = new byte[(int) Connection.WriteBufferSize]; outputReport[0] = 0x02; //REPORT TYPE - outputReport[1] = 0x4 | 0x8; //CONTROL FLAGS - outputReport[1] = 0xFF; //CONTROL FLAGS - outputReport[2] = 0x1 | 0x2 | 0x4 | 0x10 | 0x40; //Control flags + outputReport[1] = 0x4 | 0x8 ; //CONTROL FLAGS + // outputReport[1] = 0x4 | 0x8 | 0x10 | 0x20 | 0x40; //CONTROL FLAGS + // outputReport[1] = 0x00; //CONTROL FLAGS + outputReport[2] = 0x1 | 0x4 | 0x10 | 0x40; //Control flags + // outputReport[2] = 0x1 | 0x4 | 0x10 | 0x40; //Control flags + + + //AUDIO TESTING + // outputReport[5] = 0x00; // audio volume of connected headphones (maxes out at about 0x7f) + outputReport[39] = (byte) _dsLight.LedOption; //LED CONTROL outputReport[44] = (byte) _dsLight.PlayerNumber; diff --git a/DualSenseSupport/Devices.cs b/DualSenseSupport/Devices.cs index 1692e1f..dad6b9e 100644 --- a/DualSenseSupport/Devices.cs +++ b/DualSenseSupport/Devices.cs @@ -26,7 +26,7 @@ public static void Init() WindowsUsbDeviceFactory.Register(_logger, _tracer); SearchDS5Controller(); - SearchXboxController(); + // SearchXboxController(); } public static int GetDeviceCount() diff --git a/Testing/Form1.Designer.cs b/Testing/Form1.Designer.cs index 07a3793..52a1dbb 100644 --- a/Testing/Form1.Designer.cs +++ b/Testing/Form1.Designer.cs @@ -83,6 +83,7 @@ private void InitializeComponent() this.label14 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.trackBar3 = new System.Windows.Forms.TrackBar(); + this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); ((System.ComponentModel.ISupportInitialize) (this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize) (this.trackR)).BeginInit(); ((System.ComponentModel.ISupportInitialize) (this.trackG)).BeginInit(); @@ -107,6 +108,7 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize) (this.r_v_2)).BeginInit(); ((System.ComponentModel.ISupportInitialize) (this.r_v_1)).BeginInit(); ((System.ComponentModel.ISupportInitialize) (this.trackBar3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize) (this.numericUpDown1)).BeginInit(); this.SuspendLayout(); // // ComboIndex @@ -281,6 +283,7 @@ private void InitializeComponent() // // tabPage1 // + this.tabPage1.Controls.Add(this.numericUpDown1); this.tabPage1.Controls.Add(this.l_l_7); this.tabPage1.Controls.Add(this.l_l_6); this.tabPage1.Controls.Add(this.l_l_5); @@ -618,6 +621,13 @@ private void InitializeComponent() this.trackBar3.TabIndex = 18; this.trackBar3.Scroll += new System.EventHandler(this.trackBar3_Scroll_1); // + // numericUpDown1 + // + this.numericUpDown1.Location = new System.Drawing.Point(613, 56); + this.numericUpDown1.Name = "numericUpDown1"; + this.numericUpDown1.Size = new System.Drawing.Size(42, 20); + this.numericUpDown1.TabIndex = 16; + // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -673,6 +683,7 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize) (this.r_v_2)).EndInit(); ((System.ComponentModel.ISupportInitialize) (this.r_v_1)).EndInit(); ((System.ComponentModel.ISupportInitialize) (this.trackBar3)).EndInit(); + ((System.ComponentModel.ISupportInitialize) (this.numericUpDown1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } @@ -707,6 +718,7 @@ private void InitializeComponent() private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label labelPlayerNumber; + private System.Windows.Forms.NumericUpDown numericUpDown1; private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.Label r_l_1; private System.Windows.Forms.Label r_l_2;