-
Notifications
You must be signed in to change notification settings - Fork 5
/
SettingsControl.xaml
611 lines (537 loc) · 52 KB
/
SettingsControl.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
<UserControl x:Class="DahlDesign.Plugin.SettingsControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DahlDesign.Plugin"
xmlns:styles="clr-namespace:SimHub.Plugins.Styles;assembly=SimHub.Plugins" mc:Ignorable="d"
xmlns:ui="clr-namespace:SimHub.Plugins.UI;assembly=SimHub.Plugins" d:DesignHeight="720" d:DesignWidth="800">
<Grid>
<styles:SHTabControl x:Name="tabcontrol">
<styles:SHTabItem Header="Dash settings">
<ScrollViewer>
<StackPanel>
<styles:SHSection Title="Settings">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*" MinHeight="20"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="1" Text="Enable spotter mode">
</TextBlock>
<styles:SHToggleButton Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding SpotterEnable}" RenderTransformOrigin="0.45,0.2"/>
<TextBlock Grid.Row="8" Text="Show Map instead of gear">
</TextBlock>
<styles:SHToggleButton Grid.Column="1" Grid.Row="8" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding ShowMapEnabled}" RenderTransformOrigin="0.45,0.2"/>
<TextBlock Grid.Row="9" Text="Show brake and throttle gauges"/>
<styles:SHToggleButton Grid.Column="1" Grid.Row="9" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding ShowBrakeThrottleGaugesEnabled}" RenderTransformOrigin="0.45,0.2"/>
<TextBlock Grid.Row="2" Text="Swap RPM bar for LEDs:" HorizontalAlignment="Left" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" Height="18">
</TextBlock>
<styles:SHToggleButton Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding DashLEDEnabled}" RenderTransformOrigin="0.45,0.2"/>
<TextBlock Grid.Row="3" Text="RPM bar shift warning:" />
<styles:SHToggleButton Grid.Column="1" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding ShiftWarning}" />
<TextBlock Grid.Row="4" Text="Shift timing assist active outside practice (purple and green line in RPM bar):" />
<styles:SHToggleButton Grid.Column="1" Grid.Row="4" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding ShiftTimingAssist}" />
<TextBlock Grid.Row="5" Text="Lap info screen on new lap:" />
<styles:SHToggleButton Grid.Column="1" Grid.Row="5" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding LapInfoScreen}"/>
<TextBlock Grid.Row="6" Text="Swap ARB lever placement (Supercars):" />
<styles:SHToggleButton Grid.Column="1" Grid.Row="6" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding SupercarSwapPosition}" />
<TextBlock Grid.Row="7" Text="Swap ARB lever direction (Supercars):" />
<styles:SHToggleButton Grid.Column="1" Grid.Row="7" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding SupercarARBDirection}" />
<TextBlock Grid.Row="11" Text="Override Dashboard Type"/>
<ComboBox Grid.Row="11" Grid.Column="1" MaxWidth="200" HorizontalAlignment="Left" SelectedValue="{Binding DashType}" SelectedValuePath="Content">
<ComboBoxItem IsSelected="True">Automatic Selection</ComboBoxItem>
<ComboBoxItem >Porsche GT3R</ComboBoxItem>
<ComboBoxItem >Dallara LMP2</ComboBoxItem>
<ComboBoxItem >Rally</ComboBoxItem>
<ComboBoxItem >Supercar</ComboBoxItem>
<ComboBoxItem >FR3.5</ComboBoxItem>
<ComboBoxItem >Porsche 919</ComboBoxItem>
<ComboBoxItem >Mercedes W12</ComboBoxItem>
<ComboBoxItem >Mclaren F1</ComboBoxItem>
<ComboBoxItem >Williams F1</ComboBoxItem>
<ComboBoxItem >Indycar</ComboBoxItem>
<ComboBoxItem >Williams F1</ComboBoxItem>
<ComboBoxItem >GT3</ComboBoxItem>
<ComboBoxItem>BMW LMDh</ComboBoxItem>
<ComboBoxItem >BiasOnly</ComboBoxItem>
<ComboBoxItem>Default</ComboBoxItem>
</ComboBox>
<TextBlock Grid.Row="10" Text="Show generic splash screen"/>
<styles:SHToggleButton Grid.Column="1" Grid.Row="10" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding ShowGenericSplashEnabled}"/>
</Grid>
</styles:SHSection>
<styles:SHSection Title="Session setup">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*" MinHeight="20"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="1" Text="Left Screen in practice"/>
<ComboBox Grid.Row="1" Grid.Column="1" MaxWidth="200" HorizontalAlignment="Left" SelectedValuePath="Tag" SelectedValue="{Binding LeftPracticeScreen}">
<ComboBoxItem Tag="1" IsSelected="True">Time1</ComboBoxItem>
<ComboBoxItem Tag="2">Time2</ComboBoxItem>
<ComboBoxItem Tag="3">Time3</ComboBoxItem>
<ComboBoxItem Tag="4">Qualy</ComboBoxItem>
<ComboBoxItem Tag="5">Race1</ComboBoxItem>
<ComboBoxItem Tag="6">Race2</ComboBoxItem>
<ComboBoxItem Tag="7">Race3</ComboBoxItem>
<ComboBoxItem Tag="8">Practice1</ComboBoxItem>
<ComboBoxItem Tag="9">Practice2</ComboBoxItem>
</ComboBox>
<TextBlock Grid.Row="2" Text="Right Screen in practice"/>
<ComboBox Grid.Row="2" Grid.Column="1" MaxWidth="200" HorizontalAlignment="Left" SelectedValuePath="Tag" SelectedValue="{Binding RightPracticeScreen}">
<ComboBoxItem Tag="1" IsSelected="True">Stint1</ComboBoxItem>
<ComboBoxItem Tag="2">Stint2</ComboBoxItem>
<ComboBoxItem Tag="3">Qualy1</ComboBoxItem>
<ComboBoxItem Tag="4">Qualy2</ComboBoxItem>
<ComboBoxItem Tag="5">Race1</ComboBoxItem>
<ComboBoxItem Tag="6">Race2</ComboBoxItem>
<ComboBoxItem Tag="7">Race3</ComboBoxItem>
<ComboBoxItem Tag="8">Track</ComboBoxItem>
</ComboBox>
<TextBlock Grid.Row="3" Text="Left Screen in qualy"/>
<ComboBox Grid.Row="3" Grid.Column="1" MaxWidth="200" HorizontalAlignment="Left" SelectedValuePath="Tag" SelectedValue="{Binding LeftQualyScreen}">
<ComboBoxItem Tag="1" IsSelected="True">Time1</ComboBoxItem>
<ComboBoxItem Tag="2">Time2</ComboBoxItem>
<ComboBoxItem Tag="3">Time3</ComboBoxItem>
<ComboBoxItem Tag="4">Qualy</ComboBoxItem>
<ComboBoxItem Tag="5">Race1</ComboBoxItem>
<ComboBoxItem Tag="6">Race2</ComboBoxItem>
<ComboBoxItem Tag="7">Race3</ComboBoxItem>
<ComboBoxItem Tag="8">Practice1</ComboBoxItem>
<ComboBoxItem Tag="9">Practice2</ComboBoxItem>
</ComboBox>
<TextBlock Grid.Row="4" Text="Right Screen in qualy"/>
<ComboBox Grid.Row="4" Grid.Column="1" MaxWidth="200" HorizontalAlignment="Left" SelectedValuePath="Tag" SelectedValue="{Binding RightQualyScreen}">
<ComboBoxItem Tag="1" IsSelected="True">Stint1</ComboBoxItem>
<ComboBoxItem Tag="2">Stint2</ComboBoxItem>
<ComboBoxItem Tag="3">Qualy1</ComboBoxItem>
<ComboBoxItem Tag="4">Qualy2</ComboBoxItem>
<ComboBoxItem Tag="5">Race1</ComboBoxItem>
<ComboBoxItem Tag="6">Race2</ComboBoxItem>
<ComboBoxItem Tag="7">Race3</ComboBoxItem>
<ComboBoxItem Tag="8">Track</ComboBoxItem>
</ComboBox>
<TextBlock Grid.Row="5" Text="Left Screen in race"/>
<ComboBox Grid.Row="5" Grid.Column="1" MaxWidth="200" HorizontalAlignment="Left" SelectedValuePath="Tag" SelectedValue="{Binding LeftRaceScreen}">
<ComboBoxItem Tag="1" IsSelected="True">Time1</ComboBoxItem>
<ComboBoxItem Tag="2">Time2</ComboBoxItem>
<ComboBoxItem Tag="3">Time3</ComboBoxItem>
<ComboBoxItem Tag="4">Qualy</ComboBoxItem>
<ComboBoxItem Tag="5">Race1</ComboBoxItem>
<ComboBoxItem Tag="6">Race2</ComboBoxItem>
<ComboBoxItem Tag="7">Race3</ComboBoxItem>
<ComboBoxItem Tag="8">Practice1</ComboBoxItem>
<ComboBoxItem Tag="9">Practice2</ComboBoxItem>
</ComboBox>
<TextBlock Grid.Row="6" Text="Right Screen in race"/>
<ComboBox Grid.Row="6" Grid.Column="1" MaxWidth="200" HorizontalAlignment="Left" SelectedValuePath="Tag" SelectedValue="{Binding RightRaceScreen}">
<ComboBoxItem Tag="1" IsSelected="True">Stint1</ComboBoxItem>
<ComboBoxItem Tag="2">Stint2</ComboBoxItem>
<ComboBoxItem Tag="3">Qualy1</ComboBoxItem>
<ComboBoxItem Tag="4">Qualy2</ComboBoxItem>
<ComboBoxItem Tag="5">Race1</ComboBoxItem>
<ComboBoxItem Tag="6">Race2</ComboBoxItem>
<ComboBoxItem Tag="7">Race3</ComboBoxItem>
<ComboBoxItem Tag="8">Track</ComboBoxItem>
</ComboBox>
</Grid>
</styles:SHSection>
<styles:SHSection Title="Delta Screens">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*" MinHeight="20"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="1" Text="Startup screen"/>
<ComboBox Grid.Row="1" Grid.Column="1" MaxWidth="200" HorizontalAlignment="Left" SelectedValuePath="Tag" SelectedValue="{Binding DeltaScreenStartup}">
<ComboBoxItem Tag="1" IsSelected="True">LastLap</ComboBoxItem>
<ComboBoxItem Tag="2">SessionBest</ComboBoxItem>
<ComboBoxItem Tag="3">LapRecord</ComboBoxItem>
<ComboBoxItem Tag="4">Speed</ComboBoxItem>
<ComboBoxItem Tag="5">SpeedPercent</ComboBoxItem>
<ComboBoxItem Tag="4">FuelSave</ComboBoxItem>
<ComboBoxItem Tag="5">FuelTarget</ComboBoxItem>
</ComboBox>
<TextBlock Text="Road tracks - Delta change bar sensitivity (10th's delta change to fill a whole bar)" Grid.Row="2" Margin="10,10,0,10" Grid.RowSpan="2"/>
<TextBlock Text="{Binding ElementName=DeltaRoadSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" Grid.Row="3" HorizontalAlignment="Left" Margin="10,0,0,0" Width="50" Height="20"/>
<Slider x:Name="DeltaRoadSlider" Value="{Binding DeltaRoadSensitivity}" Grid.Row="4" Width="600" HorizontalAlignment="Left" Maximum="10" Minimum="0.5" SmallChange="0.25" TickPlacement="BottomRight" IsSnapToTickEnabled="True" Margin="10,0,0,0" TickFrequency="0.25" />
<TextBlock Text="Oval tracks - Delta change bar sensitivity (10th's delta change to fill a whole bar)" Grid.Row="5" Margin="10,10,0,10" Grid.RowSpan="2"/>
<TextBlock Text="{Binding ElementName=DeltaOvalSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" Grid.Row="6" HorizontalAlignment="Left" Margin="10,0,0,0" Width="50" Height="20"/>
<Slider x:Name="DeltaOvalSlider" Value="{Binding DeltaOvalSensitivity}" Grid.Row="7" Width="600" HorizontalAlignment="Left" Maximum="2" Minimum="0.05" SmallChange="0.05" TickPlacement="BottomRight" IsSnapToTickEnabled="True" Margin="10,0,0,0" TickFrequency="0.05" />
<TextBlock Text="Rally tracks - Delta change bar sensitivity (10th's delta change to fill a whole bar)" Grid.Row="8" Margin="10,10,0,10" Grid.RowSpan="2"/>
<TextBlock Text="{Binding ElementName=DeltaRallySlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" Grid.Row="9" HorizontalAlignment="Left" Margin="10,0,0,0" Width="50" Height="20"/>
<Slider x:Name="DeltaRallySlider" Value="{Binding DeltaRallySensitivity}" Grid.Row="10" Width="600" HorizontalAlignment="Left" Maximum="4" Minimum="0.2" SmallChange="0.2" TickPlacement="BottomRight" IsSnapToTickEnabled="True" Margin="10,0,0,0" TickFrequency="0.1" />
</Grid>
</styles:SHSection>
</StackPanel>
</ScrollViewer>
</styles:SHTabItem>
<styles:SHTabItem Header="Dash controls">
<ScrollViewer>
<StackPanel>
<styles:SHSection Title="Fullscreens bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Launch Screen (toggle switch released)" ActionName="DahlDesign.LaunchReleased" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Launch Screen (button toggle)" ActionName="DahlDesign.LaunchPressed" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Pit Screen (pressed)" ActionName="DahlDesign.PitPressed" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Pit Screen (released)" ActionName="DahlDesign.PitReleased" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Pace Screen (pressed)" ActionName="DahlDesign.PacePressed" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Pace Screen (released)" ActionName="DahlDesign.PaceReleased" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Dashboard bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Radio (pressed)" ActionName="DahlDesign.RadioPressed" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Radio (released)" ActionName="DahlDesign.RadioReleased" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="LED Warnings (pressed)" ActionName="DahlDesign.LEDWarningPressed" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="LED Warnings (released)" ActionName="DahlDesign.LEDWarningReleased" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Toggle map" ActionName="DahlDesign.Controls.MapToggle" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Toggle Brake and Throttle visibility" ActionName="DahlDesign.Controls.ShowBrakeThrottleGaugesToggle" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Left screen bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Left Screen > Next Page" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Next" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Left Screen > Previous Page" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Previous" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Left Screen - Time1" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Time1" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Left Screen - Time2" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Time2" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Left Screen - Time3" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Time3" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Left Screen - Qualy" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Qualy" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Left Screen - Race1" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Race1" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Left Screen - Race2" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Race2" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Left Screen - Race3" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Race3" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Left Screen - Practice1" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Practice1" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Left Screen - Practice2" ActionName="DahlDesign.Controls.Dashboard.LeftScreen.Practice2" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Right screen bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Right Screen > Next Page" ActionName="DahlDesign.Controls.Dashboard.RightScreen.Next" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Right Screen > Previous Page" ActionName="DahlDesign.Controls.Dashboard.RightScreen.Previous" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Right Screen - Stint1" ActionName="DahlDesign.Controls.Dashboard.RightScreen.Stint1" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Right Screen - Stint2" ActionName="DahlDesign.Controls.Dashboard.RightScreen.Stint2" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Right Screen - Qualy1" ActionName="DahlDesign.Controls.Dashboard.RightScreen.Qualy1" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Right Screen - Qualy2" ActionName="DahlDesign.Controls.Dashboard.RightScreen.Qualy2" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Right Screen - Race1" ActionName="DahlDesign.Controls.Dashboard.RightScreen.Race1" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Right Screen - Race2" ActionName="DahlDesign.Controls.Dashboard.RightScreen.Race2" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Right Screen - Race3" ActionName="DahlDesign.Controls.Dashboard.RightScreen.Race3" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Right Screen - Track" ActionName="DahlDesign.Controls.Dashboard.RightScreen.Track" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Delta screen bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Delete current lap record" ActionName="DahlDesign.DeleteLapRecord" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Reset current session best" ActionName="DahlDesign.ResetSessionBest" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Delta Screen > Next Page" ActionName="DahlDesign.Controls.Dashboard.DeltaScreen.Next" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Delta Screen > Previous Page" ActionName="DahlDesign.Controls.Dashboard.DeltaScreen.Previous" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Delta Screen - LastLap" ActionName="DahlDesign.Controls.Dashboard.DeltaScreen.LastLap" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Delta Screen - SessionBest" ActionName="DahlDesign.Controls.Dashboard.DeltaScreen.SessionBest" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Delta Screen - LapRecord" ActionName="DahlDesign.Controls.Dashboard.DeltaScreen.LapRecord" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Delta Screen - Speed" ActionName="DahlDesign.Controls.Dashboard.DeltaScreen.Speed" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Delta Screen - SpeedPercent" ActionName="DahlDesign.Controls.Dashboard.DeltaScreen.SpeedPercent" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Delta Screen - FuelSave" ActionName="DahlDesign.Controls.Dashboard.DeltaScreen.FuelSave" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Delta Screen - FuelTarget" ActionName="DahlDesign.Controls.Dashboard.DeltaScreen.FuelTarget" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
</StackPanel>
</ScrollViewer>
</styles:SHTabItem>
<styles:SHTabItem Header="Car controls">
<ScrollViewer>
<styles:SHSection Title="Bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="TC Off (pressed)" ActionName="DahlDesign.TCPressed" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="TC Off (released)" ActionName="DahlDesign.TCReleased" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="ERS No Boost" ActionName="DahlDesign.NBPressed" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
</ScrollViewer>
</styles:SHTabItem>
<styles:SHTabItem Header="Pit menu">
<ScrollViewer>
<StackPanel>
<styles:SHSection Title="Pit menu bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Pit Menu: +" ActionName="DahlDesign.PlusPressed" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Pit Menu: -" ActionName="DahlDesign.MinusPressed" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Pit Menu: OK" ActionName="DahlDesign.OKPressed" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Multiposition switch bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Position 1" ActionName="DahlDesign.PitMenu1" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 2" ActionName="DahlDesign.PitMenu2" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 3" ActionName="DahlDesign.PitMenu3" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 4" ActionName="DahlDesign.PitMenu4" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 5" ActionName="DahlDesign.PitMenu5" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 6" ActionName="DahlDesign.PitMenu6" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 7" ActionName="DahlDesign.PitMenu7" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 8" ActionName="DahlDesign.PitMenu8" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 9" ActionName="DahlDesign.PitMenu9" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 10" ActionName="DahlDesign.PitMenu10" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 11" ActionName="DahlDesign.PitMenu11" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 12" ActionName="DahlDesign.PitMenu12" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Rotary encoder bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Increment" ActionName="DahlDesign.PitMenuInc" HorizontalAlignment="Left" Width="750" Margin="0,0,-40,0"/>
<ui:ControlsEditor FriendlyName="Decrement" ActionName="DahlDesign.PitMenuDec" HorizontalAlignment="Left" Width="750" Margin="0,0,-40,0"/>
</StackPanel>
</styles:SHSection>
</StackPanel>
</ScrollViewer>
</styles:SHTabItem>
<styles:SHTabItem Header="InCar menu">
<ScrollViewer>
<StackPanel>
<styles:SHSection Title="InCar Multiposition switch bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Position 1" ActionName="DahlDesign.InCarMenu1" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 2" ActionName="DahlDesign.InCarMenu2" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 3" ActionName="DahlDesign.InCarMenu3" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 4" ActionName="DahlDesign.InCarMenu4" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 5" ActionName="DahlDesign.InCarMenu5" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 6" ActionName="DahlDesign.InCarMenu6" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 7" ActionName="DahlDesign.InCarMenu7" Margin="0,0,-240,0" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 8" ActionName="DahlDesign.InCarMenu8" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 9" ActionName="DahlDesign.InCarMenu9" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 10" ActionName="DahlDesign.InCarMenu10" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 11" ActionName="DahlDesign.InCarMenu11" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Position 12" ActionName="DahlDesign.InCarMenu12" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="InCar Rotary encoder bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Increment" ActionName="DahlDesign.InCarMenuInc" HorizontalAlignment="Left" Width="750" Margin="0,0,-40,0"/>
<ui:ControlsEditor FriendlyName="Decrement" ActionName="DahlDesign.InCarMenuDec" HorizontalAlignment="Left" Width="750" Margin="0,0,-40,0"/>
</StackPanel>
</styles:SHSection>
</StackPanel>
</ScrollViewer>
</styles:SHTabItem>
<styles:SHTabItem Header="Fuel & Strategy">
<ScrollViewer>
<StackPanel>
<styles:SHSection Title="Fuel & Strategy">
<StackPanel>
<TextBlock Text="Fuel per lap target:" Grid.Row="1" Margin="10,25,0,23" Grid.RowSpan="2"/>
<TextBox VerticalAlignment="Top" Height="20" Margin="10,-20,0,-20" Text="{Binding fuelPerLapTarget}"/>
<TextBlock Text="Fuel per lap offset increments:" Grid.Row="1" Margin="10,10,0,23" Grid.RowSpan="2"/>
<TextBox VerticalAlignment="Top" Height="20" Margin="10,-20,0,10" Text="{Binding fuelOffsetIncrement}"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*" MinHeight="0"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="1" Text="Lock fuel/lap target:" Grid.ColumnSpan="2" Margin="10,0,0,0"/>
<styles:SHToggleButton Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding fuelPerLapTargetLocked}" Margin="10,0,0,0" />
<TextBlock Grid.Row="2" Text="Use target for calculations when set:" Grid.ColumnSpan="2" Margin="10,0,0,0"/>
<styles:SHToggleButton Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding fuelTargetLockOnTargetSet}" Margin="10,0,0,0" />
<TextBlock Grid.Row="3" Text="PitMenu1 + 'Plus' gives full tank instead of max laps:" Grid.ColumnSpan="2" Margin="10,0,0,0"/>
<styles:SHToggleButton Grid.Column="1" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding FullTank}" Margin="10,0,0,0" />
</Grid>
<TextBlock Text="Small Pitstop Fuel Adjustment Increment (liters)" Grid.Row="1" Margin="10,10,0,10" Grid.RowSpan="2"/>
<TextBlock Text="{Binding ElementName=SmallIncrementSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" Margin="10,0,0,0" Width="20" Height="20"/>
<Slider x:Name="SmallIncrementSlider" Value="{Binding SmallFuelIncrement}" Width="600" HorizontalAlignment="Left" Maximum="10" Minimum="1" SmallChange="1" TickPlacement="BottomRight" IsSnapToTickEnabled="True" Margin="10,0,0,0" />
<TextBlock Text="Large Pitstop Fuel Adjustment Increment (liters)" Grid.Row="1" Margin="10,10,0,10" Grid.RowSpan="2"/>
<TextBlock Text="{Binding ElementName=LargeIncrementSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" Margin="10,0,0,0" Width="20" Height="20"/>
<Slider x:Name="LargeIncrementSlider" Value="{Binding LargeFuelIncrement}" Width="600" HorizontalAlignment="Left" Maximum="50" Minimum="5" SmallChange="5" TickPlacement="BottomRight" IsSnapToTickEnabled="True" Margin="10,0,0,0" />
<TextBlock Text="Fuel calculation margin (liters)" Grid.Row="1" Margin="10,10,0,10" Grid.RowSpan="2"/>
<TextBlock Text="{Binding ElementName=FuelCalculationMarginSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" Margin="10,0,0,0" Width="20" Height="20"/>
<Slider x:Name="FuelCalculationMarginSlider" Value="{Binding FuelCalculationMargin}" Width="600" HorizontalAlignment="Left" Maximum="2" Minimum="-1" SmallChange="0.1" TickPlacement="BottomRight" IsSnapToTickEnabled="True" Margin="10,0,0,0" TickFrequency="0.1" />
<TextBlock Text="Fuel command margin. Cumulates with fuel calculation margin (liters)" Grid.Row="1" Margin="10,10,0,10" Grid.RowSpan="2"/>
<TextBlock Text="{Binding ElementName=FuelCommandMarginSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" Margin="10,0,0,0" Width="20" Height="20"/>
<Slider x:Name="FuelCommandMarginSlider" Value="{Binding FuelCommandMargin}" Width="600" HorizontalAlignment="Left" Maximum="2" Minimum="-1" SmallChange="0.1" TickPlacement="BottomRight" IsSnapToTickEnabled="True" Margin="10,0,0,0" TickFrequency="0.1" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*" MinHeight="20"/>
<RowDefinition Height="1*" MinHeight="30"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="1" Text="Adjust remaining laps for pit stop duration:" Grid.ColumnSpan="2" Margin="10,0,0,0"/>
<styles:SHToggleButton Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding CorrectByPitstop}" Margin="10,0,0,0" />
</Grid>
</StackPanel>
</styles:SHSection>
</StackPanel>
</ScrollViewer>
</styles:SHTabItem>
<styles:SHTabItem Header="Controllers">
<ScrollViewer>
<StackPanel>
<styles:SHSection Title="Dahl Design Controller" Margin="0,0,0,0">
<StackPanel Margin="0,0,9,0">
<TextBlock Text="Name of your joystick controller "JoystickPlugin.Arduino_Leonardo_B01" means you write "Arduino_Leonardo" here." Grid.Row="1" Margin="10,25,0,23" Grid.RowSpan="2"/>
<TextBox Grid.Column="1" VerticalAlignment="Top" Height="20" Margin="10,-20,0,10" Text="{Binding DDC}"/>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition Height="30"/>
<RowDefinition Height="30"/>
<RowDefinition Height="30"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="1" Text="DDC Enabled"/>
<styles:SHToggleButton Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding Path=DDCEnabled}"/>
<TextBlock Grid.Row="2" Text="DDS Enabled" />
<styles:SHToggleButton Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding DDSEnabled}"/>
<TextBlock Grid.Row="3" Text="DDC Clutch"/>
<styles:SHToggleButton Grid.Row="3" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding DDCclutchEnabled}"/>
</Grid>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Wheel base" Margin="0,0,0,0">
<StackPanel>
<TextBlock Text="Wheel base steering axis. "JoystickPlugin.FANATEC_Podium_Wheel_Base_DD2_X": Write "FANATEC_Podium_Wheel_Base_DD2_X" here." Grid.Row="1" Margin="10,25,0,23" Grid.RowSpan="2"/>
<TextBox Grid.Column="1" VerticalAlignment="Top" Height="20" Margin="10,-20,0,10" Text="{Binding WheelBaseSteeringAxis}"/>
<TextBlock Text="Maximum steering angle" Grid.Row="1" Margin="10,10,0,10" Grid.RowSpan="2"/>
<TextBlock Text="{Binding ElementName=WheelRevSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" Grid.Row="3" HorizontalAlignment="Left" Margin="10,0,0,0" Width="50" Height="20"/>
<Slider x:Name="WheelRevSlider" Value="{Binding WheelRevolutions}" Grid.Row="4" Width="600" HorizontalAlignment="Left" Maximum="2160" Minimum="180" SmallChange="180" TickPlacement="BottomRight" IsSnapToTickEnabled="True" Margin="10,0,0,0" TickFrequency="180" />
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Clutch and bite point" Margin="0,0,0,0">
<StackPanel>
<TextBlock Text="Your clutch pedal/paddle. Will make clutch visible in launch screen. "JoystickPlugin.Generic_Wheel_X": Write "Generic_Wheel_X" here." Grid.Row="1" Margin="10,25,0,23" Grid.RowSpan="2"/>
<TextBox Grid.Column="1" VerticalAlignment="Top" Height="20" Margin="10,-20,0,10" Text="{Binding myClutch}"/>
<TextBlock Text="Your bite point potmeter axis. Will make bite point visible in launch screen. "JoystickPlugin.Generic_Wheel_Y": Write "Generic_Wheel_Y" here." Grid.Row="2" Margin="10,25,0,23" Grid.RowSpan="2"/>
<TextBox Grid.Column="1" VerticalAlignment="Top" Height="20" Margin="10,-20,0,10" Text="{Binding myBitePoint}"/>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Bindings" Margin="0,0,0,0">
<StackPanel>
<ui:ControlsEditor FriendlyName="Bite Point Adjust (pressed)" ActionName="DahlDesign.BitePointPressed" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Bite Point Adjust (released)" ActionName="DahlDesign.BitePointReleased" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
</StackPanel>
</ScrollViewer>
</styles:SHTabItem>
<styles:SHTabItem Header="LED plugin">
<Grid >
<styles:SHSection Title="Dahl Design LED controls" Margin="0,0,0,0">
<StackPanel>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="40"/>
<RowDefinition Height="40"/>
<RowDefinition Height="40"/>
<RowDefinition Height="40"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="75"/>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Text="DDU Enabled" Margin="0,22,0,18" Grid.RowSpan="2">
</TextBlock>
<styles:SHToggleButton Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding Path=DDUEnabled}" Margin="23,22,0,0" Grid.RowSpan="2">
</styles:SHToggleButton>
<TextBlock Text="DDU start LED" Grid.Row="1" Margin="0,17,0,23" Grid.RowSpan="2"/>
<TextBox Grid.Column="1" VerticalAlignment="Top" Height="20" Margin="24,12,-58,0" Text="{Binding DDUstartLED}" Grid.Row="1"></TextBox>
<TextBlock Grid.Row="2" Text="SW1 Enabled" Margin="0,16,0,24" Grid.RowSpan="2"/>
<styles:SHToggleButton Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding Path=SW1Enabled}" Margin="24,16,0,0">
</styles:SHToggleButton>
<TextBlock Grid.Row="3" Text="SW1 start LED" Margin="0,13,0,-13"/>
<TextBox Grid.Row="3" Grid.Column="1" VerticalAlignment="Top" Height="20" Margin="22,11,-58,0" Text="{Binding Path=SW1startLED}">
</TextBox>
</Grid>
</StackPanel>
</styles:SHSection>
</Grid>
</styles:SHTabItem>
<styles:SHTabItem Header="Plugin setup">
<ScrollViewer>
<StackPanel>
<styles:SHSection Title="Plugin bindings">
<StackPanel>
<ui:ControlsEditor FriendlyName="Upshift (pressed)" ActionName="DahlDesign.Upshift" HorizontalAlignment="Left" Width="750"/>
<ui:ControlsEditor FriendlyName="Downshift (pressed)" ActionName="DahlDesign.Downshift" HorizontalAlignment="Left" Width="750"/>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Plugin setup" Margin="0,0,0,0">
<StackPanel>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*" MinHeight="30"/>
<RowDefinition Height="1*" MinHeight="30"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="Disable PitMenu Controls unless In-Car Rotary unused or in 12th/Pit position"/>
<styles:SHToggleButton Grid.Column="1" Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding CoupleInCarToPit}"/>
<TextBlock Grid.Row="1" Text="Activate wheel slip functions:" />
<styles:SHToggleButton Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="20" IsChecked="{Binding WheelSlipLEDs}" />
</Grid>
<TextBlock Text="Reaction time (ms)">
</TextBlock>
<TextBlock Text="{Binding ElementName=ReactionSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" Margin="0,0,0,0" Width="50" Height="20"/>
<Slider x:Name="ReactionSlider" MinWidth="400" MaxWidth="800" HorizontalAlignment="Left" AutoToolTipPlacement="TopLeft" Ticks="10,20,30,40,50,60,70,80,90" TickFrequency="1" TickPlacement="Both" Value="{Binding Path=ReactionTime}" Minimum="100" Maximum="1000">
</Slider>
</StackPanel>
</styles:SHSection>
<styles:SHSection Title="Chat Items" Margin="0,0,0,0">
<StackPanel>
<TextBlock Text="Post message to driver ahead on track:" Grid.Row="1" Margin="10,25,0,23" Grid.RowSpan="2"/>
<TextBox VerticalAlignment="Top" Height="20" Margin="10,-20,0,10" Text="{Binding AheadPlayerText}"/>
<TextBlock Text="Post message to driver behind on track:" Grid.Row="1" Margin="10,0,0,23" Grid.RowSpan="2"/>
<TextBox VerticalAlignment="Top" Height="20" Margin="10,-20,0,10" Text="{Binding BehindPlayerText}"/>
</StackPanel>
</styles:SHSection>
</StackPanel>
</ScrollViewer>
</styles:SHTabItem>
</styles:SHTabControl>
</Grid>
</UserControl>