-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathControllerCompatibilitySettingsView.xaml
More file actions
20 lines (20 loc) · 1.34 KB
/
ControllerCompatibilitySettingsView.xaml
File metadata and controls
20 lines (20 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<UserControl x:Class="ControllerCompatibility.ControllerCompatibilitySettingsView"
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"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400">
<StackPanel Margin="10">
<TextBlock Text="Controller Compatibility Settings" FontSize="16" FontWeight="Bold" Margin="0,0,0,10"/>
<CheckBox x:Name="ShowWarningsCheckBox" Content="Show compatibility warnings on game launch" Margin="0,0,0,5"/>
<CheckBox x:Name="AutoDetectCheckBox" Content="Automatically detect controller compatibility" Margin="0,0,0,5"/>
<TextBlock Text="Controller Detection:" FontWeight="Bold" Margin="0,10,0,5"/>
<ComboBox x:Name="DetectionMethodComboBox" Margin="0,0,0,10">
<ComboBoxItem Content="XInput (Xbox controllers)" IsSelected="True"/>
<ComboBoxItem Content="DirectInput (all controllers)"/>
<ComboBoxItem Content="Both"/>
</ComboBox>
<Button x:Name="RefreshControllersButton" Content="Refresh Controllers" Margin="0,10,0,0" Padding="10,5"/>
</StackPanel>
</UserControl>