1 //Simplified BSD License (BSD-2-Clause) 2 // 3 //Copyright (c) 2020, Marc Riera, The OpenBVE Project 4 // 5 //Redistribution and use in source and binary forms, with or without 6 //modification, are permitted provided that the following conditions are met: 7 // 8 //1. Redistributions of source code must retain the above copyright notice, this 9 // list of conditions and the following disclaimer. 10 //2. Redistributions in binary form must reproduce the above copyright notice, 11 // this list of conditions and the following disclaimer in the documentation 12 // and/or other materials provided with the distribution. 13 // 14 //THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 15 //ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 16 //WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 17 //DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 18 //ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 19 //(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 20 //LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 21 //ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 //(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 23 //SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 25 namespace DenshaDeGoInput 26 { 27 partial class Config 28 { 29 /// <summary> 30 /// Required designer variable. 31 /// </summary> 32 private System.ComponentModel.IContainer components = null; 33 34 /// <summary> 35 /// Clean up any resources being used. 36 /// </summary> 37 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> Dispose(bool disposing)38 protected override void Dispose(bool disposing) 39 { 40 if (disposing && (components != null)) 41 { 42 components.Dispose(); 43 } 44 base.Dispose(disposing); 45 } 46 47 #region Windows Form Designer generated code 48 49 /// <summary> 50 /// Required method for Designer support - do not modify 51 /// the contents of this method with the code editor. 52 /// </summary> InitializeComponent()53 private void InitializeComponent() 54 { 55 this.components = new System.ComponentModel.Container(); 56 this.deviceInputBox = new System.Windows.Forms.GroupBox(); 57 this.label_rdoor = new System.Windows.Forms.Label(); 58 this.label_ldoor = new System.Windows.Forms.Label(); 59 this.label_power = new System.Windows.Forms.Label(); 60 this.label_brake = new System.Windows.Forms.Label(); 61 this.label_pedal = new System.Windows.Forms.Label(); 62 this.label_right = new System.Windows.Forms.Label(); 63 this.label_left = new System.Windows.Forms.Label(); 64 this.label_down = new System.Windows.Forms.Label(); 65 this.label_up = new System.Windows.Forms.Label(); 66 this.buttonCalibrate = new System.Windows.Forms.Button(); 67 this.label_select = new System.Windows.Forms.Label(); 68 this.label_start = new System.Windows.Forms.Label(); 69 this.label_d = new System.Windows.Forms.Label(); 70 this.label_c = new System.Windows.Forms.Label(); 71 this.label_b = new System.Windows.Forms.Label(); 72 this.label_a = new System.Windows.Forms.Label(); 73 this.buttonMappingBox = new System.Windows.Forms.GroupBox(); 74 this.buttonrdoorBox = new System.Windows.Forms.ComboBox(); 75 this.label_buttonrdoor = new System.Windows.Forms.Label(); 76 this.buttonldoorBox = new System.Windows.Forms.ComboBox(); 77 this.label_buttonldoor = new System.Windows.Forms.Label(); 78 this.buttondBox = new System.Windows.Forms.ComboBox(); 79 this.label_buttond = new System.Windows.Forms.Label(); 80 this.buttonupBox = new System.Windows.Forms.ComboBox(); 81 this.buttondownBox = new System.Windows.Forms.ComboBox(); 82 this.buttonpedalBox = new System.Windows.Forms.ComboBox(); 83 this.buttonrightBox = new System.Windows.Forms.ComboBox(); 84 this.buttonleftBox = new System.Windows.Forms.ComboBox(); 85 this.label_buttonup = new System.Windows.Forms.Label(); 86 this.label_buttondown = new System.Windows.Forms.Label(); 87 this.label_buttonpedal = new System.Windows.Forms.Label(); 88 this.label_buttonright = new System.Windows.Forms.Label(); 89 this.label_buttonleft = new System.Windows.Forms.Label(); 90 this.buttonselectBox = new System.Windows.Forms.ComboBox(); 91 this.buttonstartBox = new System.Windows.Forms.ComboBox(); 92 this.buttoncBox = new System.Windows.Forms.ComboBox(); 93 this.buttonbBox = new System.Windows.Forms.ComboBox(); 94 this.buttonaBox = new System.Windows.Forms.ComboBox(); 95 this.label_buttonselect = new System.Windows.Forms.Label(); 96 this.label_buttonstart = new System.Windows.Forms.Label(); 97 this.label_buttonc = new System.Windows.Forms.Label(); 98 this.label_buttonb = new System.Windows.Forms.Label(); 99 this.label_buttona = new System.Windows.Forms.Label(); 100 this.buttonSave = new System.Windows.Forms.Button(); 101 this.buttonCancel = new System.Windows.Forms.Button(); 102 this.handleMappingBox = new System.Windows.Forms.GroupBox(); 103 this.holdbrakeCheck = new System.Windows.Forms.CheckBox(); 104 this.minmaxCheck = new System.Windows.Forms.CheckBox(); 105 this.convertnotchesCheck = new System.Windows.Forms.CheckBox(); 106 this.deviceBox = new System.Windows.Forms.ComboBox(); 107 this.label_device = new System.Windows.Forms.Label(); 108 this.linkLabel_driver = new System.Windows.Forms.LinkLabel(); 109 this.deviceInputBox.SuspendLayout(); 110 this.buttonMappingBox.SuspendLayout(); 111 this.handleMappingBox.SuspendLayout(); 112 this.SuspendLayout(); 113 // 114 // deviceInputBox 115 // 116 this.deviceInputBox.Controls.Add(this.label_rdoor); 117 this.deviceInputBox.Controls.Add(this.label_ldoor); 118 this.deviceInputBox.Controls.Add(this.label_power); 119 this.deviceInputBox.Controls.Add(this.label_brake); 120 this.deviceInputBox.Controls.Add(this.label_pedal); 121 this.deviceInputBox.Controls.Add(this.label_right); 122 this.deviceInputBox.Controls.Add(this.label_left); 123 this.deviceInputBox.Controls.Add(this.label_down); 124 this.deviceInputBox.Controls.Add(this.label_up); 125 this.deviceInputBox.Controls.Add(this.buttonCalibrate); 126 this.deviceInputBox.Controls.Add(this.label_select); 127 this.deviceInputBox.Controls.Add(this.label_start); 128 this.deviceInputBox.Controls.Add(this.label_d); 129 this.deviceInputBox.Controls.Add(this.label_c); 130 this.deviceInputBox.Controls.Add(this.label_b); 131 this.deviceInputBox.Controls.Add(this.label_a); 132 this.deviceInputBox.Location = new System.Drawing.Point(12, 37); 133 this.deviceInputBox.Name = "deviceInputBox"; 134 this.deviceInputBox.Size = new System.Drawing.Size(178, 313); 135 this.deviceInputBox.TabIndex = 1; 136 this.deviceInputBox.TabStop = false; 137 this.deviceInputBox.Text = "Device input"; 138 // 139 // label_rdoor 140 // 141 this.label_rdoor.BackColor = System.Drawing.Color.LightCoral; 142 this.label_rdoor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 143 this.label_rdoor.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 144 this.label_rdoor.ForeColor = System.Drawing.Color.Black; 145 this.label_rdoor.Location = new System.Drawing.Point(92, 215); 146 this.label_rdoor.Margin = new System.Windows.Forms.Padding(3); 147 this.label_rdoor.Name = "label_rdoor"; 148 this.label_rdoor.Size = new System.Drawing.Size(80, 24); 149 this.label_rdoor.TabIndex = 30; 150 this.label_rdoor.Text = "R DOOR"; 151 this.label_rdoor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 152 // 153 // label_ldoor 154 // 155 this.label_ldoor.BackColor = System.Drawing.Color.LightCoral; 156 this.label_ldoor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 157 this.label_ldoor.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 158 this.label_ldoor.ForeColor = System.Drawing.Color.Black; 159 this.label_ldoor.Location = new System.Drawing.Point(92, 185); 160 this.label_ldoor.Margin = new System.Windows.Forms.Padding(3); 161 this.label_ldoor.Name = "label_ldoor"; 162 this.label_ldoor.Size = new System.Drawing.Size(80, 24); 163 this.label_ldoor.TabIndex = 29; 164 this.label_ldoor.Text = "L DOOR"; 165 this.label_ldoor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 166 // 167 // label_power 168 // 169 this.label_power.AutoSize = true; 170 this.label_power.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 171 this.label_power.Location = new System.Drawing.Point(6, 42); 172 this.label_power.Margin = new System.Windows.Forms.Padding(3); 173 this.label_power.MaximumSize = new System.Drawing.Size(200, 17); 174 this.label_power.Name = "label_power"; 175 this.label_power.Size = new System.Drawing.Size(112, 17); 176 this.label_power.TabIndex = 28; 177 this.label_power.Text = "Power: [notch]"; 178 // 179 // label_brake 180 // 181 this.label_brake.AutoSize = true; 182 this.label_brake.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 183 this.label_brake.Location = new System.Drawing.Point(6, 19); 184 this.label_brake.Margin = new System.Windows.Forms.Padding(3); 185 this.label_brake.MaximumSize = new System.Drawing.Size(200, 17); 186 this.label_brake.Name = "label_brake"; 187 this.label_brake.Size = new System.Drawing.Size(110, 17); 188 this.label_brake.TabIndex = 27; 189 this.label_brake.Text = "Brake: [notch]"; 190 // 191 // label_pedal 192 // 193 this.label_pedal.BackColor = System.Drawing.Color.Silver; 194 this.label_pedal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 195 this.label_pedal.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 196 this.label_pedal.ForeColor = System.Drawing.Color.Black; 197 this.label_pedal.Location = new System.Drawing.Point(6, 245); 198 this.label_pedal.Margin = new System.Windows.Forms.Padding(3); 199 this.label_pedal.Name = "label_pedal"; 200 this.label_pedal.Size = new System.Drawing.Size(80, 24); 201 this.label_pedal.TabIndex = 26; 202 this.label_pedal.Text = "PEDAL"; 203 this.label_pedal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 204 // 205 // label_right 206 // 207 this.label_right.BackColor = System.Drawing.Color.Khaki; 208 this.label_right.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 209 this.label_right.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 210 this.label_right.ForeColor = System.Drawing.Color.Black; 211 this.label_right.Location = new System.Drawing.Point(92, 155); 212 this.label_right.Margin = new System.Windows.Forms.Padding(3); 213 this.label_right.Name = "label_right"; 214 this.label_right.Size = new System.Drawing.Size(80, 24); 215 this.label_right.TabIndex = 25; 216 this.label_right.Text = "RIGHT"; 217 this.label_right.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 218 // 219 // label_left 220 // 221 this.label_left.BackColor = System.Drawing.Color.Khaki; 222 this.label_left.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 223 this.label_left.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 224 this.label_left.ForeColor = System.Drawing.Color.Black; 225 this.label_left.Location = new System.Drawing.Point(92, 125); 226 this.label_left.Margin = new System.Windows.Forms.Padding(3); 227 this.label_left.Name = "label_left"; 228 this.label_left.Size = new System.Drawing.Size(80, 24); 229 this.label_left.TabIndex = 24; 230 this.label_left.Text = "LEFT"; 231 this.label_left.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 232 // 233 // label_down 234 // 235 this.label_down.BackColor = System.Drawing.Color.Khaki; 236 this.label_down.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 237 this.label_down.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 238 this.label_down.ForeColor = System.Drawing.Color.Black; 239 this.label_down.Location = new System.Drawing.Point(92, 95); 240 this.label_down.Margin = new System.Windows.Forms.Padding(3); 241 this.label_down.Name = "label_down"; 242 this.label_down.Size = new System.Drawing.Size(80, 24); 243 this.label_down.TabIndex = 23; 244 this.label_down.Text = "DOWN"; 245 this.label_down.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 246 // 247 // label_up 248 // 249 this.label_up.BackColor = System.Drawing.Color.Khaki; 250 this.label_up.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 251 this.label_up.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 252 this.label_up.ForeColor = System.Drawing.Color.Black; 253 this.label_up.Location = new System.Drawing.Point(92, 65); 254 this.label_up.Margin = new System.Windows.Forms.Padding(3); 255 this.label_up.Name = "label_up"; 256 this.label_up.Size = new System.Drawing.Size(80, 24); 257 this.label_up.TabIndex = 22; 258 this.label_up.Text = "UP"; 259 this.label_up.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 260 // 261 // buttonCalibrate 262 // 263 this.buttonCalibrate.Location = new System.Drawing.Point(6, 275); 264 this.buttonCalibrate.Name = "buttonCalibrate"; 265 this.buttonCalibrate.Size = new System.Drawing.Size(166, 24); 266 this.buttonCalibrate.TabIndex = 21; 267 this.buttonCalibrate.Text = "Start calibration"; 268 this.buttonCalibrate.UseVisualStyleBackColor = true; 269 this.buttonCalibrate.Click += new System.EventHandler(this.buttonCalibrate_Click); 270 // 271 // label_select 272 // 273 this.label_select.BackColor = System.Drawing.Color.Plum; 274 this.label_select.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 275 this.label_select.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 276 this.label_select.ForeColor = System.Drawing.Color.Black; 277 this.label_select.Location = new System.Drawing.Point(6, 65); 278 this.label_select.Margin = new System.Windows.Forms.Padding(3); 279 this.label_select.Name = "label_select"; 280 this.label_select.Size = new System.Drawing.Size(80, 24); 281 this.label_select.TabIndex = 19; 282 this.label_select.Text = "SELECT"; 283 this.label_select.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 284 // 285 // label_start 286 // 287 this.label_start.BackColor = System.Drawing.Color.Plum; 288 this.label_start.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 289 this.label_start.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 290 this.label_start.ForeColor = System.Drawing.Color.Black; 291 this.label_start.Location = new System.Drawing.Point(6, 95); 292 this.label_start.Margin = new System.Windows.Forms.Padding(3); 293 this.label_start.Name = "label_start"; 294 this.label_start.Size = new System.Drawing.Size(80, 24); 295 this.label_start.TabIndex = 20; 296 this.label_start.Text = "START"; 297 this.label_start.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 298 // 299 // label_d 300 // 301 this.label_d.BackColor = System.Drawing.Color.Plum; 302 this.label_d.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 303 this.label_d.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 304 this.label_d.ForeColor = System.Drawing.Color.Black; 305 this.label_d.Location = new System.Drawing.Point(6, 215); 306 this.label_d.Margin = new System.Windows.Forms.Padding(3); 307 this.label_d.Name = "label_d"; 308 this.label_d.Size = new System.Drawing.Size(80, 24); 309 this.label_d.TabIndex = 18; 310 this.label_d.Text = "D"; 311 this.label_d.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 312 // 313 // label_c 314 // 315 this.label_c.BackColor = System.Drawing.Color.Plum; 316 this.label_c.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 317 this.label_c.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 318 this.label_c.ForeColor = System.Drawing.Color.Black; 319 this.label_c.Location = new System.Drawing.Point(6, 185); 320 this.label_c.Margin = new System.Windows.Forms.Padding(3); 321 this.label_c.Name = "label_c"; 322 this.label_c.Size = new System.Drawing.Size(80, 24); 323 this.label_c.TabIndex = 18; 324 this.label_c.Text = "C"; 325 this.label_c.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 326 // 327 // label_b 328 // 329 this.label_b.BackColor = System.Drawing.Color.Plum; 330 this.label_b.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 331 this.label_b.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 332 this.label_b.ForeColor = System.Drawing.Color.Black; 333 this.label_b.Location = new System.Drawing.Point(6, 155); 334 this.label_b.Margin = new System.Windows.Forms.Padding(3); 335 this.label_b.Name = "label_b"; 336 this.label_b.Size = new System.Drawing.Size(80, 24); 337 this.label_b.TabIndex = 17; 338 this.label_b.Text = "B"; 339 this.label_b.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 340 // 341 // label_a 342 // 343 this.label_a.BackColor = System.Drawing.Color.Plum; 344 this.label_a.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 345 this.label_a.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 346 this.label_a.ForeColor = System.Drawing.Color.Black; 347 this.label_a.Location = new System.Drawing.Point(6, 125); 348 this.label_a.Margin = new System.Windows.Forms.Padding(3); 349 this.label_a.Name = "label_a"; 350 this.label_a.Size = new System.Drawing.Size(80, 24); 351 this.label_a.TabIndex = 16; 352 this.label_a.Text = "A"; 353 this.label_a.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 354 // 355 // buttonMappingBox 356 // 357 this.buttonMappingBox.Controls.Add(this.buttonrdoorBox); 358 this.buttonMappingBox.Controls.Add(this.label_buttonrdoor); 359 this.buttonMappingBox.Controls.Add(this.buttonldoorBox); 360 this.buttonMappingBox.Controls.Add(this.label_buttonldoor); 361 this.buttonMappingBox.Controls.Add(this.buttondBox); 362 this.buttonMappingBox.Controls.Add(this.label_buttond); 363 this.buttonMappingBox.Controls.Add(this.buttonupBox); 364 this.buttonMappingBox.Controls.Add(this.buttondownBox); 365 this.buttonMappingBox.Controls.Add(this.buttonpedalBox); 366 this.buttonMappingBox.Controls.Add(this.buttonrightBox); 367 this.buttonMappingBox.Controls.Add(this.buttonleftBox); 368 this.buttonMappingBox.Controls.Add(this.label_buttonup); 369 this.buttonMappingBox.Controls.Add(this.label_buttondown); 370 this.buttonMappingBox.Controls.Add(this.label_buttonpedal); 371 this.buttonMappingBox.Controls.Add(this.label_buttonright); 372 this.buttonMappingBox.Controls.Add(this.label_buttonleft); 373 this.buttonMappingBox.Controls.Add(this.buttonselectBox); 374 this.buttonMappingBox.Controls.Add(this.buttonstartBox); 375 this.buttonMappingBox.Controls.Add(this.buttoncBox); 376 this.buttonMappingBox.Controls.Add(this.buttonbBox); 377 this.buttonMappingBox.Controls.Add(this.buttonaBox); 378 this.buttonMappingBox.Controls.Add(this.label_buttonselect); 379 this.buttonMappingBox.Controls.Add(this.label_buttonstart); 380 this.buttonMappingBox.Controls.Add(this.label_buttonc); 381 this.buttonMappingBox.Controls.Add(this.label_buttonb); 382 this.buttonMappingBox.Controls.Add(this.label_buttona); 383 this.buttonMappingBox.Location = new System.Drawing.Point(196, 37); 384 this.buttonMappingBox.Name = "buttonMappingBox"; 385 this.buttonMappingBox.Size = new System.Drawing.Size(499, 212); 386 this.buttonMappingBox.TabIndex = 2; 387 this.buttonMappingBox.TabStop = false; 388 this.buttonMappingBox.Text = "Button mapping"; 389 // 390 // buttonrdoorBox 391 // 392 this.buttonrdoorBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 393 this.buttonrdoorBox.FormattingEnabled = true; 394 this.buttonrdoorBox.Location = new System.Drawing.Point(306, 182); 395 this.buttonrdoorBox.Name = "buttonrdoorBox"; 396 this.buttonrdoorBox.Size = new System.Drawing.Size(182, 21); 397 this.buttonrdoorBox.TabIndex = 24; 398 this.buttonrdoorBox.SelectedIndexChanged += new System.EventHandler(this.buttonrdoorBox_SelectedIndexChanged); 399 // 400 // label_buttonrdoor 401 // 402 this.label_buttonrdoor.Location = new System.Drawing.Point(250, 185); 403 this.label_buttonrdoor.Margin = new System.Windows.Forms.Padding(3); 404 this.label_buttonrdoor.Name = "label_buttonrdoor"; 405 this.label_buttonrdoor.Size = new System.Drawing.Size(50, 15); 406 this.label_buttonrdoor.TabIndex = 23; 407 this.label_buttonrdoor.Text = "R DOOR"; 408 // 409 // buttonldoorBox 410 // 411 this.buttonldoorBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 412 this.buttonldoorBox.FormattingEnabled = true; 413 this.buttonldoorBox.Location = new System.Drawing.Point(306, 155); 414 this.buttonldoorBox.Name = "buttonldoorBox"; 415 this.buttonldoorBox.Size = new System.Drawing.Size(182, 21); 416 this.buttonldoorBox.TabIndex = 22; 417 this.buttonldoorBox.SelectedIndexChanged += new System.EventHandler(this.buttonldoorBox_SelectedIndexChanged); 418 // 419 // label_buttonldoor 420 // 421 this.label_buttonldoor.Location = new System.Drawing.Point(250, 158); 422 this.label_buttonldoor.Margin = new System.Windows.Forms.Padding(3); 423 this.label_buttonldoor.Name = "label_buttonldoor"; 424 this.label_buttonldoor.Size = new System.Drawing.Size(50, 15); 425 this.label_buttonldoor.TabIndex = 21; 426 this.label_buttonldoor.Text = "L DOOR"; 427 // 428 // buttondBox 429 // 430 this.buttondBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 431 this.buttondBox.FormattingEnabled = true; 432 this.buttondBox.Location = new System.Drawing.Point(62, 155); 433 this.buttondBox.Name = "buttondBox"; 434 this.buttondBox.Size = new System.Drawing.Size(182, 21); 435 this.buttondBox.TabIndex = 20; 436 this.buttondBox.SelectedIndexChanged += new System.EventHandler(this.buttondBox_SelectedIndexChanged); 437 // 438 // label_buttond 439 // 440 this.label_buttond.Location = new System.Drawing.Point(6, 158); 441 this.label_buttond.Margin = new System.Windows.Forms.Padding(3); 442 this.label_buttond.Name = "label_buttond"; 443 this.label_buttond.Size = new System.Drawing.Size(50, 15); 444 this.label_buttond.TabIndex = 19; 445 this.label_buttond.Text = "D"; 446 // 447 // buttonupBox 448 // 449 this.buttonupBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 450 this.buttonupBox.FormattingEnabled = true; 451 this.buttonupBox.Location = new System.Drawing.Point(306, 20); 452 this.buttonupBox.Name = "buttonupBox"; 453 this.buttonupBox.Size = new System.Drawing.Size(182, 21); 454 this.buttonupBox.TabIndex = 18; 455 this.buttonupBox.SelectedIndexChanged += new System.EventHandler(this.buttonupBox_SelectedIndexChanged); 456 // 457 // buttondownBox 458 // 459 this.buttondownBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 460 this.buttondownBox.FormattingEnabled = true; 461 this.buttondownBox.Location = new System.Drawing.Point(306, 47); 462 this.buttondownBox.Name = "buttondownBox"; 463 this.buttondownBox.Size = new System.Drawing.Size(182, 21); 464 this.buttondownBox.TabIndex = 15; 465 this.buttondownBox.SelectedIndexChanged += new System.EventHandler(this.buttondownBox_SelectedIndexChanged); 466 // 467 // buttonpedalBox 468 // 469 this.buttonpedalBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 470 this.buttonpedalBox.FormattingEnabled = true; 471 this.buttonpedalBox.Location = new System.Drawing.Point(306, 128); 472 this.buttonpedalBox.Name = "buttonpedalBox"; 473 this.buttonpedalBox.Size = new System.Drawing.Size(182, 21); 474 this.buttonpedalBox.TabIndex = 17; 475 this.buttonpedalBox.SelectedIndexChanged += new System.EventHandler(this.buttonpedalBox_SelectedIndexChanged); 476 // 477 // buttonrightBox 478 // 479 this.buttonrightBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 480 this.buttonrightBox.FormattingEnabled = true; 481 this.buttonrightBox.Location = new System.Drawing.Point(306, 101); 482 this.buttonrightBox.Name = "buttonrightBox"; 483 this.buttonrightBox.Size = new System.Drawing.Size(182, 21); 484 this.buttonrightBox.TabIndex = 16; 485 this.buttonrightBox.SelectedIndexChanged += new System.EventHandler(this.buttonrightBox_SelectedIndexChanged); 486 // 487 // buttonleftBox 488 // 489 this.buttonleftBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 490 this.buttonleftBox.FormattingEnabled = true; 491 this.buttonleftBox.Location = new System.Drawing.Point(306, 74); 492 this.buttonleftBox.Name = "buttonleftBox"; 493 this.buttonleftBox.Size = new System.Drawing.Size(182, 21); 494 this.buttonleftBox.TabIndex = 14; 495 this.buttonleftBox.SelectedIndexChanged += new System.EventHandler(this.buttonleftBox_SelectedIndexChanged); 496 // 497 // label_buttonup 498 // 499 this.label_buttonup.Location = new System.Drawing.Point(250, 23); 500 this.label_buttonup.Margin = new System.Windows.Forms.Padding(3); 501 this.label_buttonup.Name = "label_buttonup"; 502 this.label_buttonup.Size = new System.Drawing.Size(50, 15); 503 this.label_buttonup.TabIndex = 12; 504 this.label_buttonup.Text = "UP"; 505 // 506 // label_buttondown 507 // 508 this.label_buttondown.Location = new System.Drawing.Point(250, 50); 509 this.label_buttondown.Margin = new System.Windows.Forms.Padding(3); 510 this.label_buttondown.Name = "label_buttondown"; 511 this.label_buttondown.Size = new System.Drawing.Size(50, 15); 512 this.label_buttondown.TabIndex = 13; 513 this.label_buttondown.Text = "DOWN"; 514 // 515 // label_buttonpedal 516 // 517 this.label_buttonpedal.Location = new System.Drawing.Point(250, 131); 518 this.label_buttonpedal.Margin = new System.Windows.Forms.Padding(3); 519 this.label_buttonpedal.Name = "label_buttonpedal"; 520 this.label_buttonpedal.Size = new System.Drawing.Size(50, 15); 521 this.label_buttonpedal.TabIndex = 11; 522 this.label_buttonpedal.Text = "PEDAL"; 523 // 524 // label_buttonright 525 // 526 this.label_buttonright.Location = new System.Drawing.Point(250, 104); 527 this.label_buttonright.Margin = new System.Windows.Forms.Padding(3); 528 this.label_buttonright.Name = "label_buttonright"; 529 this.label_buttonright.Size = new System.Drawing.Size(50, 15); 530 this.label_buttonright.TabIndex = 10; 531 this.label_buttonright.Text = "RIGHT"; 532 // 533 // label_buttonleft 534 // 535 this.label_buttonleft.Location = new System.Drawing.Point(250, 77); 536 this.label_buttonleft.Margin = new System.Windows.Forms.Padding(3); 537 this.label_buttonleft.Name = "label_buttonleft"; 538 this.label_buttonleft.Size = new System.Drawing.Size(50, 15); 539 this.label_buttonleft.TabIndex = 9; 540 this.label_buttonleft.Text = "LEFT"; 541 // 542 // buttonselectBox 543 // 544 this.buttonselectBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 545 this.buttonselectBox.FormattingEnabled = true; 546 this.buttonselectBox.Location = new System.Drawing.Point(62, 20); 547 this.buttonselectBox.Name = "buttonselectBox"; 548 this.buttonselectBox.Size = new System.Drawing.Size(182, 21); 549 this.buttonselectBox.TabIndex = 8; 550 this.buttonselectBox.SelectedIndexChanged += new System.EventHandler(this.buttonselectBox_SelectedIndexChanged); 551 // 552 // buttonstartBox 553 // 554 this.buttonstartBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 555 this.buttonstartBox.FormattingEnabled = true; 556 this.buttonstartBox.Location = new System.Drawing.Point(62, 47); 557 this.buttonstartBox.Name = "buttonstartBox"; 558 this.buttonstartBox.Size = new System.Drawing.Size(182, 21); 559 this.buttonstartBox.TabIndex = 6; 560 this.buttonstartBox.SelectedIndexChanged += new System.EventHandler(this.buttonstartBox_SelectedIndexChanged); 561 // 562 // buttoncBox 563 // 564 this.buttoncBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 565 this.buttoncBox.FormattingEnabled = true; 566 this.buttoncBox.Location = new System.Drawing.Point(62, 128); 567 this.buttoncBox.Name = "buttoncBox"; 568 this.buttoncBox.Size = new System.Drawing.Size(182, 21); 569 this.buttoncBox.TabIndex = 7; 570 this.buttoncBox.SelectedIndexChanged += new System.EventHandler(this.buttoncBox_SelectedIndexChanged); 571 // 572 // buttonbBox 573 // 574 this.buttonbBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 575 this.buttonbBox.FormattingEnabled = true; 576 this.buttonbBox.Location = new System.Drawing.Point(62, 101); 577 this.buttonbBox.Name = "buttonbBox"; 578 this.buttonbBox.Size = new System.Drawing.Size(182, 21); 579 this.buttonbBox.TabIndex = 6; 580 this.buttonbBox.SelectedIndexChanged += new System.EventHandler(this.buttonbBox_SelectedIndexChanged); 581 // 582 // buttonaBox 583 // 584 this.buttonaBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 585 this.buttonaBox.FormattingEnabled = true; 586 this.buttonaBox.Location = new System.Drawing.Point(62, 74); 587 this.buttonaBox.Name = "buttonaBox"; 588 this.buttonaBox.Size = new System.Drawing.Size(182, 21); 589 this.buttonaBox.TabIndex = 5; 590 this.buttonaBox.SelectedIndexChanged += new System.EventHandler(this.buttonaBox_SelectedIndexChanged); 591 // 592 // label_buttonselect 593 // 594 this.label_buttonselect.Location = new System.Drawing.Point(6, 23); 595 this.label_buttonselect.Margin = new System.Windows.Forms.Padding(3); 596 this.label_buttonselect.Name = "label_buttonselect"; 597 this.label_buttonselect.Size = new System.Drawing.Size(50, 15); 598 this.label_buttonselect.TabIndex = 3; 599 this.label_buttonselect.Text = "SELECT"; 600 // 601 // label_buttonstart 602 // 603 this.label_buttonstart.Location = new System.Drawing.Point(6, 50); 604 this.label_buttonstart.Margin = new System.Windows.Forms.Padding(3); 605 this.label_buttonstart.Name = "label_buttonstart"; 606 this.label_buttonstart.Size = new System.Drawing.Size(50, 15); 607 this.label_buttonstart.TabIndex = 4; 608 this.label_buttonstart.Text = "START"; 609 // 610 // label_buttonc 611 // 612 this.label_buttonc.Location = new System.Drawing.Point(6, 131); 613 this.label_buttonc.Margin = new System.Windows.Forms.Padding(3); 614 this.label_buttonc.Name = "label_buttonc"; 615 this.label_buttonc.Size = new System.Drawing.Size(50, 15); 616 this.label_buttonc.TabIndex = 2; 617 this.label_buttonc.Text = "C"; 618 // 619 // label_buttonb 620 // 621 this.label_buttonb.Location = new System.Drawing.Point(6, 104); 622 this.label_buttonb.Margin = new System.Windows.Forms.Padding(3); 623 this.label_buttonb.Name = "label_buttonb"; 624 this.label_buttonb.Size = new System.Drawing.Size(50, 15); 625 this.label_buttonb.TabIndex = 1; 626 this.label_buttonb.Text = "B"; 627 // 628 // label_buttona 629 // 630 this.label_buttona.Location = new System.Drawing.Point(6, 77); 631 this.label_buttona.Margin = new System.Windows.Forms.Padding(3); 632 this.label_buttona.Name = "label_buttona"; 633 this.label_buttona.Size = new System.Drawing.Size(50, 15); 634 this.label_buttona.TabIndex = 0; 635 this.label_buttona.Text = "A"; 636 // 637 // buttonSave 638 // 639 this.buttonSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 640 this.buttonSave.Location = new System.Drawing.Point(502, 356); 641 this.buttonSave.Name = "buttonSave"; 642 this.buttonSave.Size = new System.Drawing.Size(94, 23); 643 this.buttonSave.TabIndex = 3; 644 this.buttonSave.Text = "Save"; 645 this.buttonSave.UseVisualStyleBackColor = true; 646 this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); 647 // 648 // buttonCancel 649 // 650 this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 651 this.buttonCancel.Location = new System.Drawing.Point(602, 356); 652 this.buttonCancel.Name = "buttonCancel"; 653 this.buttonCancel.Size = new System.Drawing.Size(93, 23); 654 this.buttonCancel.TabIndex = 4; 655 this.buttonCancel.Text = "Cancel"; 656 this.buttonCancel.UseVisualStyleBackColor = true; 657 this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); 658 // 659 // handleMappingBox 660 // 661 this.handleMappingBox.Controls.Add(this.holdbrakeCheck); 662 this.handleMappingBox.Controls.Add(this.minmaxCheck); 663 this.handleMappingBox.Controls.Add(this.convertnotchesCheck); 664 this.handleMappingBox.Location = new System.Drawing.Point(196, 255); 665 this.handleMappingBox.Name = "handleMappingBox"; 666 this.handleMappingBox.Size = new System.Drawing.Size(499, 95); 667 this.handleMappingBox.TabIndex = 5; 668 this.handleMappingBox.TabStop = false; 669 this.handleMappingBox.Text = "Handle mapping"; 670 // 671 // holdbrakeCheck 672 // 673 this.holdbrakeCheck.Location = new System.Drawing.Point(6, 69); 674 this.holdbrakeCheck.Name = "holdbrakeCheck"; 675 this.holdbrakeCheck.Size = new System.Drawing.Size(229, 19); 676 this.holdbrakeCheck.TabIndex = 2; 677 this.holdbrakeCheck.Text = "Map hold brake to B1"; 678 this.holdbrakeCheck.UseVisualStyleBackColor = true; 679 this.holdbrakeCheck.CheckedChanged += new System.EventHandler(this.holdbrakeCheck_CheckedChanged); 680 // 681 // minmaxCheck 682 // 683 this.minmaxCheck.Location = new System.Drawing.Point(6, 44); 684 this.minmaxCheck.Name = "minmaxCheck"; 685 this.minmaxCheck.Size = new System.Drawing.Size(229, 19); 686 this.minmaxCheck.TabIndex = 1; 687 this.minmaxCheck.Text = "Keep minimum and maximum"; 688 this.minmaxCheck.UseVisualStyleBackColor = true; 689 this.minmaxCheck.CheckedChanged += new System.EventHandler(this.minmaxCheck_CheckedChanged); 690 // 691 // convertnotchesCheck 692 // 693 this.convertnotchesCheck.Location = new System.Drawing.Point(6, 19); 694 this.convertnotchesCheck.Name = "convertnotchesCheck"; 695 this.convertnotchesCheck.Size = new System.Drawing.Size(229, 19); 696 this.convertnotchesCheck.TabIndex = 0; 697 this.convertnotchesCheck.Text = "Convert notches"; 698 this.convertnotchesCheck.UseVisualStyleBackColor = true; 699 this.convertnotchesCheck.CheckedChanged += new System.EventHandler(this.convertnotchesCheck_CheckedChanged); 700 // 701 // deviceBox 702 // 703 this.deviceBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 704 this.deviceBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 705 this.deviceBox.FormattingEnabled = true; 706 this.deviceBox.Location = new System.Drawing.Point(502, 10); 707 this.deviceBox.Name = "deviceBox"; 708 this.deviceBox.Size = new System.Drawing.Size(182, 21); 709 this.deviceBox.TabIndex = 6; 710 this.deviceBox.SelectedIndexChanged += new System.EventHandler(this.deviceBox_SelectedIndexChanged); 711 // 712 // label_device 713 // 714 this.label_device.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 715 this.label_device.Location = new System.Drawing.Point(414, 13); 716 this.label_device.Name = "label_device"; 717 this.label_device.Size = new System.Drawing.Size(82, 18); 718 this.label_device.TabIndex = 7; 719 this.label_device.Text = "Device"; 720 this.label_device.TextAlign = System.Drawing.ContentAlignment.TopRight; 721 // 722 // linkLabel_driver 723 // 724 this.linkLabel_driver.AutoEllipsis = true; 725 this.linkLabel_driver.Location = new System.Drawing.Point(12, 361); 726 this.linkLabel_driver.Name = "linkLabel_driver"; 727 this.linkLabel_driver.Size = new System.Drawing.Size(484, 21); 728 this.linkLabel_driver.TabIndex = 9; 729 this.linkLabel_driver.TabStop = true; 730 this.linkLabel_driver.Text = "My controller is not detected or does not work properly"; 731 this.linkLabel_driver.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked); 732 733 // 734 // Config 735 // 736 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 737 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 738 this.ClientSize = new System.Drawing.Size(707, 391); 739 this.Controls.Add(this.linkLabel_driver); 740 this.Controls.Add(this.label_device); 741 this.Controls.Add(this.deviceBox); 742 this.Controls.Add(this.handleMappingBox); 743 this.Controls.Add(this.buttonCancel); 744 this.Controls.Add(this.buttonSave); 745 this.Controls.Add(this.buttonMappingBox); 746 this.Controls.Add(this.deviceInputBox); 747 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; 748 this.Name = "Config"; 749 this.Text = "Densha de GO! controller configuration"; 750 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Config_FormClosed); 751 this.Shown += new System.EventHandler(this.Config_Shown); 752 this.deviceInputBox.ResumeLayout(false); 753 this.deviceInputBox.PerformLayout(); 754 this.buttonMappingBox.ResumeLayout(false); 755 this.handleMappingBox.ResumeLayout(false); 756 this.ResumeLayout(false); 757 758 } 759 760 #endregion 761 private System.Windows.Forms.GroupBox deviceInputBox; 762 private System.Windows.Forms.Label label_select; 763 private System.Windows.Forms.Label label_start; 764 private System.Windows.Forms.Label label_d; 765 private System.Windows.Forms.Label label_c; 766 private System.Windows.Forms.Label label_b; 767 private System.Windows.Forms.Label label_a; 768 private System.Windows.Forms.GroupBox buttonMappingBox; 769 private System.Windows.Forms.ComboBox buttonselectBox; 770 private System.Windows.Forms.ComboBox buttonstartBox; 771 private System.Windows.Forms.ComboBox buttoncBox; 772 private System.Windows.Forms.ComboBox buttonbBox; 773 private System.Windows.Forms.ComboBox buttonaBox; 774 private System.Windows.Forms.Label label_buttonselect; 775 private System.Windows.Forms.Label label_buttonstart; 776 private System.Windows.Forms.Label label_buttonc; 777 private System.Windows.Forms.Label label_buttonb; 778 private System.Windows.Forms.Label label_buttona; 779 private System.Windows.Forms.Button buttonSave; 780 private System.Windows.Forms.Button buttonCancel; 781 private System.Windows.Forms.GroupBox handleMappingBox; 782 private System.Windows.Forms.ComboBox deviceBox; 783 private System.Windows.Forms.Button buttonCalibrate; 784 private System.Windows.Forms.CheckBox holdbrakeCheck; 785 private System.Windows.Forms.CheckBox minmaxCheck; 786 private System.Windows.Forms.CheckBox convertnotchesCheck; 787 private System.Windows.Forms.Label label_device; 788 private System.Windows.Forms.Label label_right; 789 private System.Windows.Forms.Label label_left; 790 private System.Windows.Forms.Label label_down; 791 private System.Windows.Forms.Label label_up; 792 private System.Windows.Forms.ComboBox buttondBox; 793 private System.Windows.Forms.Label label_buttond; 794 private System.Windows.Forms.ComboBox buttonupBox; 795 private System.Windows.Forms.ComboBox buttondownBox; 796 private System.Windows.Forms.ComboBox buttonpedalBox; 797 private System.Windows.Forms.ComboBox buttonrightBox; 798 private System.Windows.Forms.ComboBox buttonleftBox; 799 private System.Windows.Forms.Label label_buttonup; 800 private System.Windows.Forms.Label label_buttondown; 801 private System.Windows.Forms.Label label_buttonpedal; 802 private System.Windows.Forms.Label label_buttonright; 803 private System.Windows.Forms.Label label_buttonleft; 804 private System.Windows.Forms.Label label_pedal; 805 private System.Windows.Forms.Label label_power; 806 private System.Windows.Forms.Label label_brake; 807 private System.Windows.Forms.Label label_rdoor; 808 private System.Windows.Forms.Label label_ldoor; 809 private System.Windows.Forms.ComboBox buttonrdoorBox; 810 private System.Windows.Forms.Label label_buttonrdoor; 811 private System.Windows.Forms.ComboBox buttonldoorBox; 812 private System.Windows.Forms.Label label_buttonldoor; 813 private System.Windows.Forms.LinkLabel linkLabel_driver; 814 } 815 } 816