Left over fixes :) default tip
authorStephaneLenclud
Wed, 11 Feb 2015 15:52:53 +0100
changeset 75680e56e9b0b
parent 6 597a95926637
Left over fixes :)
FrmMain.cs
Hid.cs
     1.1 --- a/FrmMain.cs	Wed May 14 18:54:30 2014 +0200
     1.2 +++ b/FrmMain.cs	Wed Feb 11 15:52:53 2015 +0100
     1.3 @@ -254,23 +254,23 @@
     1.4              this.fraControlTransfers.SuspendLayout();
     1.5              this.fraSendAndGetContinuous.SuspendLayout();
     1.6              this.SuspendLayout();
     1.7 -            //
     1.8 +            // 
     1.9              // FraBytesReceived
    1.10 -            //
    1.11 +            // 
    1.12              this.FraBytesReceived.BackColor = System.Drawing.SystemColors.Control;
    1.13              this.FraBytesReceived.Controls.Add(this.TxtBytesReceived);
    1.14              this.FraBytesReceived.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    1.15              this.FraBytesReceived.ForeColor = System.Drawing.SystemColors.ControlText;
    1.16 -            this.FraBytesReceived.Location = new System.Drawing.Point(495, 353);
    1.17 +            this.FraBytesReceived.Location = new System.Drawing.Point(658, 353);
    1.18              this.FraBytesReceived.Name = "FraBytesReceived";
    1.19              this.FraBytesReceived.RightToLeft = System.Windows.Forms.RightToLeft.No;
    1.20              this.FraBytesReceived.Size = new System.Drawing.Size(112, 136);
    1.21              this.FraBytesReceived.TabIndex = 4;
    1.22              this.FraBytesReceived.TabStop = false;
    1.23              this.FraBytesReceived.Text = "Bytes Received";
    1.24 -            //
    1.25 +            // 
    1.26              // TxtBytesReceived
    1.27 -            //
    1.28 +            // 
    1.29              this.TxtBytesReceived.AcceptsReturn = true;
    1.30              this.TxtBytesReceived.BackColor = System.Drawing.SystemColors.Window;
    1.31              this.TxtBytesReceived.Cursor = System.Windows.Forms.Cursors.IBeam;
    1.32 @@ -283,25 +283,25 @@
    1.33              this.TxtBytesReceived.RightToLeft = System.Windows.Forms.RightToLeft.No;
    1.34              this.TxtBytesReceived.Size = new System.Drawing.Size(72, 96);
    1.35              this.TxtBytesReceived.TabIndex = 5;
    1.36 -            //
    1.37 +            // 
    1.38              // FraBytesToSend
    1.39 -            //
    1.40 +            // 
    1.41              this.FraBytesToSend.BackColor = System.Drawing.SystemColors.Control;
    1.42              this.FraBytesToSend.Controls.Add(this.ChkAutoincrement);
    1.43              this.FraBytesToSend.Controls.Add(this.CboByte1);
    1.44              this.FraBytesToSend.Controls.Add(this.CboByte0);
    1.45              this.FraBytesToSend.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    1.46              this.FraBytesToSend.ForeColor = System.Drawing.SystemColors.ControlText;
    1.47 -            this.FraBytesToSend.Location = new System.Drawing.Point(612, 235);
    1.48 +            this.FraBytesToSend.Location = new System.Drawing.Point(776, 235);
    1.49              this.FraBytesToSend.Name = "FraBytesToSend";
    1.50              this.FraBytesToSend.RightToLeft = System.Windows.Forms.RightToLeft.No;
    1.51              this.FraBytesToSend.Size = new System.Drawing.Size(160, 136);
    1.52              this.FraBytesToSend.TabIndex = 1;
    1.53              this.FraBytesToSend.TabStop = false;
    1.54              this.FraBytesToSend.Text = "Bytes to Send";
    1.55 -            //
    1.56 +            // 
    1.57              // ChkAutoincrement
    1.58 -            //
    1.59 +            // 
    1.60              this.ChkAutoincrement.BackColor = System.Drawing.SystemColors.Control;
    1.61              this.ChkAutoincrement.Cursor = System.Windows.Forms.Cursors.Default;
    1.62              this.ChkAutoincrement.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    1.63 @@ -313,9 +313,9 @@
    1.64              this.ChkAutoincrement.TabIndex = 6;
    1.65              this.ChkAutoincrement.Text = "Autoincrement values";
    1.66              this.ChkAutoincrement.UseVisualStyleBackColor = false;
    1.67 -            //
    1.68 +            // 
    1.69              // CboByte1
    1.70 -            //
    1.71 +            // 
    1.72              this.CboByte1.BackColor = System.Drawing.SystemColors.Window;
    1.73              this.CboByte1.Cursor = System.Windows.Forms.Cursors.Default;
    1.74              this.CboByte1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
    1.75 @@ -326,9 +326,9 @@
    1.76              this.CboByte1.RightToLeft = System.Windows.Forms.RightToLeft.No;
    1.77              this.CboByte1.Size = new System.Drawing.Size(101, 22);
    1.78              this.CboByte1.TabIndex = 3;
    1.79 -            //
    1.80 +            // 
    1.81              // CboByte0
    1.82 -            //
    1.83 +            // 
    1.84              this.CboByte0.BackColor = System.Drawing.SystemColors.Window;
    1.85              this.CboByte0.Cursor = System.Windows.Forms.Cursors.Default;
    1.86              this.CboByte0.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
    1.87 @@ -339,106 +339,105 @@
    1.88              this.CboByte0.RightToLeft = System.Windows.Forms.RightToLeft.No;
    1.89              this.CboByte0.Size = new System.Drawing.Size(101, 22);
    1.90              this.CboByte0.TabIndex = 2;
    1.91 -            //
    1.92 +            // 
    1.93              // LstResults
    1.94 -            //
    1.95 +            // 
    1.96              this.LstResults.BackColor = System.Drawing.SystemColors.Window;
    1.97              this.LstResults.Cursor = System.Windows.Forms.Cursors.Default;
    1.98 -            this.LstResults.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    1.99 +            this.LstResults.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
   1.100              this.LstResults.ForeColor = System.Drawing.SystemColors.WindowText;
   1.101              this.LstResults.HorizontalScrollbar = true;
   1.102 -            this.LstResults.ItemHeight = 14;
   1.103              this.LstResults.Location = new System.Drawing.Point(12, 494);
   1.104              this.LstResults.Name = "LstResults";
   1.105              this.LstResults.RightToLeft = System.Windows.Forms.RightToLeft.No;
   1.106 -            this.LstResults.Size = new System.Drawing.Size(760, 256);
   1.107 +            this.LstResults.Size = new System.Drawing.Size(916, 251);
   1.108              this.LstResults.TabIndex = 0;
   1.109 -            //
   1.110 +            // 
   1.111              // fraInputReportBufferSize
   1.112 -            //
   1.113 +            // 
   1.114              this.fraInputReportBufferSize.Controls.Add(this.cmdInputReportBufferSize);
   1.115              this.fraInputReportBufferSize.Controls.Add(this.txtInputReportBufferSize);
   1.116 -            this.fraInputReportBufferSize.Location = new System.Drawing.Point(623, 44);
   1.117 +            this.fraInputReportBufferSize.Location = new System.Drawing.Point(787, 44);
   1.118              this.fraInputReportBufferSize.Name = "fraInputReportBufferSize";
   1.119              this.fraInputReportBufferSize.Size = new System.Drawing.Size(149, 79);
   1.120              this.fraInputReportBufferSize.TabIndex = 9;
   1.121              this.fraInputReportBufferSize.TabStop = false;
   1.122              this.fraInputReportBufferSize.Text = "Input Report Buffer Size";
   1.123 -            //
   1.124 +            // 
   1.125              // cmdInputReportBufferSize
   1.126 -            //
   1.127 +            // 
   1.128              this.cmdInputReportBufferSize.Location = new System.Drawing.Point(6, 47);
   1.129              this.cmdInputReportBufferSize.Name = "cmdInputReportBufferSize";
   1.130              this.cmdInputReportBufferSize.Size = new System.Drawing.Size(136, 26);
   1.131              this.cmdInputReportBufferSize.TabIndex = 1;
   1.132              this.cmdInputReportBufferSize.Text = "Change Buffer Size";
   1.133              this.cmdInputReportBufferSize.Click += new System.EventHandler(this.cmdInputReportBufferSize_Click);
   1.134 -            //
   1.135 +            // 
   1.136              // txtInputReportBufferSize
   1.137 -            //
   1.138 +            // 
   1.139              this.txtInputReportBufferSize.Location = new System.Drawing.Point(6, 21);
   1.140              this.txtInputReportBufferSize.Name = "txtInputReportBufferSize";
   1.141              this.txtInputReportBufferSize.Size = new System.Drawing.Size(56, 20);
   1.142              this.txtInputReportBufferSize.TabIndex = 0;
   1.143 -            //
   1.144 +            // 
   1.145              // fraDeviceIdentifiers
   1.146 -            //
   1.147 +            // 
   1.148              this.fraDeviceIdentifiers.Controls.Add(this.txtProductID);
   1.149              this.fraDeviceIdentifiers.Controls.Add(this.lblProductID);
   1.150              this.fraDeviceIdentifiers.Controls.Add(this.txtVendorID);
   1.151              this.fraDeviceIdentifiers.Controls.Add(this.lblVendorID);
   1.152 -            this.fraDeviceIdentifiers.Location = new System.Drawing.Point(409, 12);
   1.153 +            this.fraDeviceIdentifiers.Location = new System.Drawing.Point(573, 12);
   1.154              this.fraDeviceIdentifiers.Name = "fraDeviceIdentifiers";
   1.155              this.fraDeviceIdentifiers.Size = new System.Drawing.Size(208, 96);
   1.156              this.fraDeviceIdentifiers.TabIndex = 10;
   1.157              this.fraDeviceIdentifiers.TabStop = false;
   1.158              this.fraDeviceIdentifiers.Text = "Device Identifiers";
   1.159 -            //
   1.160 +            // 
   1.161              // txtProductID
   1.162 -            //
   1.163 +            // 
   1.164              this.txtProductID.Location = new System.Drawing.Point(120, 56);
   1.165              this.txtProductID.Name = "txtProductID";
   1.166              this.txtProductID.Size = new System.Drawing.Size(72, 20);
   1.167              this.txtProductID.TabIndex = 3;
   1.168              this.txtProductID.Text = "1299";
   1.169              this.txtProductID.TextChanged += new System.EventHandler(this.txtProductID_TextChanged);
   1.170 -            //
   1.171 +            // 
   1.172              // lblProductID
   1.173 -            //
   1.174 +            // 
   1.175              this.lblProductID.Location = new System.Drawing.Point(16, 56);
   1.176              this.lblProductID.Name = "lblProductID";
   1.177              this.lblProductID.Size = new System.Drawing.Size(112, 23);
   1.178              this.lblProductID.TabIndex = 2;
   1.179              this.lblProductID.Text = "Product ID (hex):";
   1.180 -            //
   1.181 +            // 
   1.182              // txtVendorID
   1.183 -            //
   1.184 +            // 
   1.185              this.txtVendorID.Location = new System.Drawing.Point(120, 24);
   1.186              this.txtVendorID.Name = "txtVendorID";
   1.187              this.txtVendorID.Size = new System.Drawing.Size(72, 20);
   1.188              this.txtVendorID.TabIndex = 1;
   1.189              this.txtVendorID.Text = "0925";
   1.190              this.txtVendorID.TextChanged += new System.EventHandler(this.txtVendorID_TextChanged);
   1.191 -            //
   1.192 +            // 
   1.193              // lblVendorID
   1.194 -            //
   1.195 +            // 
   1.196              this.lblVendorID.Location = new System.Drawing.Point(16, 24);
   1.197              this.lblVendorID.Name = "lblVendorID";
   1.198              this.lblVendorID.Size = new System.Drawing.Size(112, 23);
   1.199              this.lblVendorID.TabIndex = 0;
   1.200              this.lblVendorID.Text = "Vendor ID (hex):";
   1.201 -            //
   1.202 +            // 
   1.203              // cmdFindDevice
   1.204 -            //
   1.205 -            this.cmdFindDevice.Location = new System.Drawing.Point(636, 12);
   1.206 +            // 
   1.207 +            this.cmdFindDevice.Location = new System.Drawing.Point(800, 12);
   1.208              this.cmdFindDevice.Name = "cmdFindDevice";
   1.209              this.cmdFindDevice.Size = new System.Drawing.Size(136, 26);
   1.210              this.cmdFindDevice.TabIndex = 11;
   1.211              this.cmdFindDevice.Text = "Find My Device";
   1.212              this.cmdFindDevice.Click += new System.EventHandler(this.cmdFindDevice_Click);
   1.213 -            //
   1.214 +            // 
   1.215              // cmdSendOutputReportInterrupt
   1.216 -            //
   1.217 +            // 
   1.218              this.cmdSendOutputReportInterrupt.Location = new System.Drawing.Point(21, 27);
   1.219              this.cmdSendOutputReportInterrupt.Name = "cmdSendOutputReportInterrupt";
   1.220              this.cmdSendOutputReportInterrupt.Size = new System.Drawing.Size(118, 26);
   1.221 @@ -446,9 +445,9 @@
   1.222              this.cmdSendOutputReportInterrupt.Text = "Send Output Report";
   1.223              this.cmdSendOutputReportInterrupt.UseVisualStyleBackColor = true;
   1.224              this.cmdSendOutputReportInterrupt.Click += new System.EventHandler(this.cmdSendOutputReportInterrupt_Click);
   1.225 -            //
   1.226 +            // 
   1.227              // cmdGetInputReportInterrupt
   1.228 -            //
   1.229 +            // 
   1.230              this.cmdGetInputReportInterrupt.Location = new System.Drawing.Point(21, 60);
   1.231              this.cmdGetInputReportInterrupt.Name = "cmdGetInputReportInterrupt";
   1.232              this.cmdGetInputReportInterrupt.Size = new System.Drawing.Size(118, 26);
   1.233 @@ -456,24 +455,24 @@
   1.234              this.cmdGetInputReportInterrupt.Text = "Get Input Report";
   1.235              this.cmdGetInputReportInterrupt.UseVisualStyleBackColor = true;
   1.236              this.cmdGetInputReportInterrupt.Click += new System.EventHandler(this.cmdGetInputReportInterrupt_Click);
   1.237 -            //
   1.238 +            // 
   1.239              // fraInterruptTransfers
   1.240 -            //
   1.241 +            // 
   1.242              this.fraInterruptTransfers.BackColor = System.Drawing.SystemColors.Control;
   1.243              this.fraInterruptTransfers.Controls.Add(this.cmdSendOutputReportInterrupt);
   1.244              this.fraInterruptTransfers.Controls.Add(this.cmdGetInputReportInterrupt);
   1.245              this.fraInterruptTransfers.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
   1.246              this.fraInterruptTransfers.ForeColor = System.Drawing.SystemColors.ControlText;
   1.247 -            this.fraInterruptTransfers.Location = new System.Drawing.Point(338, 129);
   1.248 +            this.fraInterruptTransfers.Location = new System.Drawing.Point(502, 129);
   1.249              this.fraInterruptTransfers.Name = "fraInterruptTransfers";
   1.250              this.fraInterruptTransfers.RightToLeft = System.Windows.Forms.RightToLeft.No;
   1.251              this.fraInterruptTransfers.Size = new System.Drawing.Size(151, 100);
   1.252              this.fraInterruptTransfers.TabIndex = 14;
   1.253              this.fraInterruptTransfers.TabStop = false;
   1.254              this.fraInterruptTransfers.Text = "Interrupt Transfers";
   1.255 -            //
   1.256 +            // 
   1.257              // cmdPeriodicTransfers
   1.258 -            //
   1.259 +            // 
   1.260              this.cmdPeriodicTransfers.Location = new System.Drawing.Point(153, 36);
   1.261              this.cmdPeriodicTransfers.Name = "cmdPeriodicTransfers";
   1.262              this.cmdPeriodicTransfers.Size = new System.Drawing.Size(118, 26);
   1.263 @@ -481,9 +480,9 @@
   1.264              this.cmdPeriodicTransfers.Text = "Start";
   1.265              this.cmdPeriodicTransfers.UseVisualStyleBackColor = true;
   1.266              this.cmdPeriodicTransfers.Click += new System.EventHandler(this.cmdPeriodicTransfers_Click);
   1.267 -            //
   1.268 +            // 
   1.269              // cmdSendOutputReportControl
   1.270 -            //
   1.271 +            // 
   1.272              this.cmdSendOutputReportControl.Location = new System.Drawing.Point(10, 27);
   1.273              this.cmdSendOutputReportControl.Name = "cmdSendOutputReportControl";
   1.274              this.cmdSendOutputReportControl.Size = new System.Drawing.Size(118, 26);
   1.275 @@ -491,9 +490,9 @@
   1.276              this.cmdSendOutputReportControl.Text = "Send Output Report";
   1.277              this.cmdSendOutputReportControl.UseVisualStyleBackColor = true;
   1.278              this.cmdSendOutputReportControl.Click += new System.EventHandler(this.cmdSendOutputReportControl_Click);
   1.279 -            //
   1.280 +            // 
   1.281              // cmdGetInputReportControl
   1.282 -            //
   1.283 +            // 
   1.284              this.cmdGetInputReportControl.Location = new System.Drawing.Point(10, 60);
   1.285              this.cmdGetInputReportControl.Name = "cmdGetInputReportControl";
   1.286              this.cmdGetInputReportControl.Size = new System.Drawing.Size(118, 26);
   1.287 @@ -501,9 +500,9 @@
   1.288              this.cmdGetInputReportControl.Text = "Get Input Report";
   1.289              this.cmdGetInputReportControl.UseVisualStyleBackColor = true;
   1.290              this.cmdGetInputReportControl.Click += new System.EventHandler(this.cmdGetInputReportControl_Click);
   1.291 -            //
   1.292 +            // 
   1.293              // fraControlTransfers
   1.294 -            //
   1.295 +            // 
   1.296              this.fraControlTransfers.BackColor = System.Drawing.SystemColors.Control;
   1.297              this.fraControlTransfers.Controls.Add(this.cmdGetFeatureReport);
   1.298              this.fraControlTransfers.Controls.Add(this.cmdSendFeatureReport);
   1.299 @@ -511,16 +510,16 @@
   1.300              this.fraControlTransfers.Controls.Add(this.cmdGetInputReportControl);
   1.301              this.fraControlTransfers.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
   1.302              this.fraControlTransfers.ForeColor = System.Drawing.SystemColors.ControlText;
   1.303 -            this.fraControlTransfers.Location = new System.Drawing.Point(495, 129);
   1.304 +            this.fraControlTransfers.Location = new System.Drawing.Point(659, 129);
   1.305              this.fraControlTransfers.Name = "fraControlTransfers";
   1.306              this.fraControlTransfers.RightToLeft = System.Windows.Forms.RightToLeft.No;
   1.307              this.fraControlTransfers.Size = new System.Drawing.Size(277, 100);
   1.308              this.fraControlTransfers.TabIndex = 15;
   1.309              this.fraControlTransfers.TabStop = false;
   1.310              this.fraControlTransfers.Text = "Control Transfers";
   1.311 -            //
   1.312 +            // 
   1.313              // cmdGetFeatureReport
   1.314 -            //
   1.315 +            // 
   1.316              this.cmdGetFeatureReport.Location = new System.Drawing.Point(141, 60);
   1.317              this.cmdGetFeatureReport.Name = "cmdGetFeatureReport";
   1.318              this.cmdGetFeatureReport.Size = new System.Drawing.Size(118, 26);
   1.319 @@ -528,9 +527,9 @@
   1.320              this.cmdGetFeatureReport.Text = "Get Feature Report";
   1.321              this.cmdGetFeatureReport.UseVisualStyleBackColor = true;
   1.322              this.cmdGetFeatureReport.Click += new System.EventHandler(this.cmdGetFeatureReport_Click);
   1.323 -            //
   1.324 +            // 
   1.325              // cmdSendFeatureReport
   1.326 -            //
   1.327 +            // 
   1.328              this.cmdSendFeatureReport.Location = new System.Drawing.Point(141, 27);
   1.329              this.cmdSendFeatureReport.Name = "cmdSendFeatureReport";
   1.330              this.cmdSendFeatureReport.Size = new System.Drawing.Size(118, 26);
   1.331 @@ -538,9 +537,9 @@
   1.332              this.cmdSendFeatureReport.Text = "Send Feature Report";
   1.333              this.cmdSendFeatureReport.UseVisualStyleBackColor = true;
   1.334              this.cmdSendFeatureReport.Click += new System.EventHandler(this.cmdSendFeatureReport_Click);
   1.335 -            //
   1.336 +            // 
   1.337              // fraSendAndGetContinuous
   1.338 -            //
   1.339 +            // 
   1.340              this.fraSendAndGetContinuous.BackColor = System.Drawing.SystemColors.Control;
   1.341              this.fraSendAndGetContinuous.Controls.Add(this.radFeature);
   1.342              this.fraSendAndGetContinuous.Controls.Add(this.radInputOutputControl);
   1.343 @@ -548,16 +547,16 @@
   1.344              this.fraSendAndGetContinuous.Controls.Add(this.cmdPeriodicTransfers);
   1.345              this.fraSendAndGetContinuous.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
   1.346              this.fraSendAndGetContinuous.ForeColor = System.Drawing.SystemColors.ControlText;
   1.347 -            this.fraSendAndGetContinuous.Location = new System.Drawing.Point(311, 235);
   1.348 +            this.fraSendAndGetContinuous.Location = new System.Drawing.Point(475, 235);
   1.349              this.fraSendAndGetContinuous.Name = "fraSendAndGetContinuous";
   1.350              this.fraSendAndGetContinuous.RightToLeft = System.Windows.Forms.RightToLeft.No;
   1.351              this.fraSendAndGetContinuous.Size = new System.Drawing.Size(295, 112);
   1.352              this.fraSendAndGetContinuous.TabIndex = 17;
   1.353              this.fraSendAndGetContinuous.TabStop = false;
   1.354              this.fraSendAndGetContinuous.Text = "Send and Get Continuous";
   1.355 -            //
   1.356 +            // 
   1.357              // radFeature
   1.358 -            //
   1.359 +            // 
   1.360              this.radFeature.AutoSize = true;
   1.361              this.radFeature.Location = new System.Drawing.Point(17, 76);
   1.362              this.radFeature.Name = "radFeature";
   1.363 @@ -567,9 +566,9 @@
   1.364              this.radFeature.Text = "Feature";
   1.365              this.radFeature.UseVisualStyleBackColor = true;
   1.366              this.radFeature.CheckedChanged += new System.EventHandler(this.radFeature_CheckedChanged);
   1.367 -            //
   1.368 +            // 
   1.369              // radInputOutputControl
   1.370 -            //
   1.371 +            // 
   1.372              this.radInputOutputControl.AutoSize = true;
   1.373              this.radInputOutputControl.Location = new System.Drawing.Point(17, 52);
   1.374              this.radInputOutputControl.Name = "radInputOutputControl";
   1.375 @@ -579,9 +578,9 @@
   1.376              this.radInputOutputControl.Text = "Input Output Control";
   1.377              this.radInputOutputControl.UseVisualStyleBackColor = true;
   1.378              this.radInputOutputControl.CheckedChanged += new System.EventHandler(this.radInputOutputControl_CheckedChanged);
   1.379 -            //
   1.380 +            // 
   1.381              // radInputOutputInterrupt
   1.382 -            //
   1.383 +            // 
   1.384              this.radInputOutputInterrupt.AutoSize = true;
   1.385              this.radInputOutputInterrupt.Location = new System.Drawing.Point(17, 28);
   1.386              this.radInputOutputInterrupt.Name = "radInputOutputInterrupt";
   1.387 @@ -591,18 +590,18 @@
   1.388              this.radInputOutputInterrupt.Text = "Input Output Interrupt";
   1.389              this.radInputOutputInterrupt.UseVisualStyleBackColor = true;
   1.390              this.radInputOutputInterrupt.CheckedChanged += new System.EventHandler(this.radInputOutputInterrupt_CheckedChanged);
   1.391 -            //
   1.392 +            // 
   1.393              // treeViewDevices
   1.394 -            //
   1.395 +            // 
   1.396              this.treeViewDevices.Location = new System.Drawing.Point(12, 12);
   1.397              this.treeViewDevices.Name = "treeViewDevices";
   1.398 -            this.treeViewDevices.Size = new System.Drawing.Size(284, 461);
   1.399 +            this.treeViewDevices.Size = new System.Drawing.Size(457, 461);
   1.400              this.treeViewDevices.TabIndex = 18;
   1.401              this.treeViewDevices.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewDevices_AfterSelect);
   1.402 -            //
   1.403 +            // 
   1.404              // FrmMain
   1.405 -            //
   1.406 -            this.ClientSize = new System.Drawing.Size(784, 756);
   1.407 +            // 
   1.408 +            this.ClientSize = new System.Drawing.Size(940, 756);
   1.409              this.Controls.Add(this.treeViewDevices);
   1.410              this.Controls.Add(this.fraSendAndGetContinuous);
   1.411              this.Controls.Add(this.fraControlTransfers);
   1.412 @@ -1349,23 +1348,36 @@
   1.413  				//  Display the report data received in the form's list box.
   1.414  
   1.415  				LstResults.Items.Add(" Report ID: " + String.Format("{0:X2} ", buffer[0]));
   1.416 +                LstResults.Items.Add(" Report Data Size: " + (buffer.Length-1)); //Exclude one byte for the report ID
   1.417  				LstResults.Items.Add(" Report Data:");
   1.418  
   1.419  				TxtBytesReceived.Text = "";
   1.420  
   1.421 +                String byteString = "";
   1.422 +
   1.423  				for (count = 1; count <= buffer.Length - 1; count++)
   1.424  				{
   1.425  					//  Display bytes as 2-character Hex strings.
   1.426  
   1.427 -					String byteValue = String.Format("{0:X2} ", buffer[count]);
   1.428 +                    byteString += String.Format(" {0:X2} ", buffer[count]);
   1.429  
   1.430 -					LstResults.Items.Add(" " + byteValue);
   1.431 +                    if (count % 16 == 0)
   1.432 +                    {
   1.433 +                        //Add a line to our list box every 16 bytes
   1.434 +                        LstResults.Items.Add(byteString);
   1.435 +                        byteString = "";
   1.436 +                    }
   1.437 +
   1.438 +                    
   1.439  
   1.440  					//  Display the received bytes in the text box.
   1.441 +                    //TxtBytesReceived.SelectionStart = TxtBytesReceived.Text.Length;
   1.442 +					//TxtBytesReceived.SelectedText = byteValue + Environment.NewLine;
   1.443 +				}
   1.444  
   1.445 -					TxtBytesReceived.SelectionStart = TxtBytesReceived.Text.Length;
   1.446 -					TxtBytesReceived.SelectedText = byteValue + Environment.NewLine;
   1.447 -				}
   1.448 +                //Add the rests of our data
   1.449 +                LstResults.Items.Add(byteString);
   1.450 +
   1.451  				ScrollToBottomOfListBox();
   1.452  			}
   1.453  			catch (Exception ex)
   1.454 @@ -2318,6 +2330,17 @@
   1.455  			}
   1.456  		}
   1.457  
   1.458 +
   1.459 +        //
   1.460 +        //
   1.461 +        public static void Fill<T>(T[] arr, T value)
   1.462 +        {
   1.463 +            for (int i = 0; i < arr.Length; i++)
   1.464 +            {
   1.465 +                arr[i] = value;
   1.466 +            }
   1.467 +        }
   1.468 +
   1.469  		///  <summary>
   1.470  		///  Sends an Output report.
   1.471  		///  Assumes report ID = 0.
   1.472 @@ -2353,7 +2376,8 @@
   1.473  					{
   1.474  						//  Set the size of the Output report buffer.
   1.475  
   1.476 -						var outputReportBuffer = new Byte[_myHid.Capabilities.OutputReportByteLength];
   1.477 +						Byte[] outputReportBuffer = new Byte[_myHid.Capabilities.OutputReportByteLength];
   1.478 +                        Fill<Byte>(outputReportBuffer,0);
   1.479  
   1.480  						//  Store the report ID in the first byte of the buffer:
   1.481  
   1.482 @@ -2369,6 +2393,18 @@
   1.483  							outputReportBuffer[2] = Convert.ToByte(CboByte1.SelectedIndex);
   1.484  						}
   1.485  
   1.486 +
   1.487 +                        //Futaba GP1212A01A
   1.488 +                        //Clear screen
   1.489 +                        outputReportBuffer[0] = 0;      //Report ID 
   1.490 +                        outputReportBuffer[1] = 4;      //Size of report, as per Futaba specs
   1.491 +                        outputReportBuffer[2] = 0x1B;   //Clear screen code
   1.492 +                        outputReportBuffer[3] = 0x5B;
   1.493 +                        outputReportBuffer[4] = 0x32;
   1.494 +                        outputReportBuffer[5] = 0x4A;
   1.495 +                        
   1.496 +
   1.497 +
   1.498  						//  Write a report.
   1.499  
   1.500  						Boolean success;
     2.1 --- a/Hid.cs	Wed May 14 18:54:30 2014 +0200
     2.2 +++ b/Hid.cs	Wed Feb 11 15:52:53 2015 +0100
     2.3 @@ -627,7 +627,7 @@
     2.4  				//  Returns: true on success, false on failure.
     2.5  				//  ***                    
     2.6  
     2.7 -				Boolean success = NativeMethods.HidD_SetOutputReport(hidHandle, outputReportBuffer, outputReportBuffer.Length + 1);
     2.8 +				Boolean success = NativeMethods.HidD_SetOutputReport(hidHandle, outputReportBuffer, outputReportBuffer.Length);
     2.9  
    2.10  				Debug.Print("HidD_SetOutputReport success = " + success);
    2.11