Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Threading issue fixed. Updates to beta app.
- Loading branch information
Showing
16 changed files
with
1,889 additions
and
1,756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<UserControl x:Class="x360ce.App.ControllersUserControl" | ||
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:x360ce.App" | ||
mc:Ignorable="d" | ||
d:DesignHeight="300" d:DesignWidth="300" Loaded="UserControl_Loaded"> | ||
<TabControl x:Name="tabControl" Margin="10"> | ||
<TabItem Header="Available Direct Input Devices"> | ||
<Grid> | ||
<DataGrid x:Name="ControllersDataGrid" BorderThickness="0" CanUserAddRows="False" AutoGenerateColumns="False" GridLinesVisibility="Horizontal" > | ||
<DataGrid.HorizontalGridLinesBrush> | ||
<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlColorKey}}"/> | ||
</DataGrid.HorizontalGridLinesBrush> | ||
<DataGrid.Columns> | ||
<DataGridTextColumn Binding="{Binding InstanceID}" Header="Instance ID"/> | ||
<DataGridTextColumn Binding="{Binding VendorName}" Header="Vendor Name"/> | ||
<DataGridTextColumn Binding="{Binding ProductName}" Header="Product Name"/> | ||
</DataGrid.Columns> | ||
</DataGrid> | ||
</Grid> | ||
</TabItem> | ||
</TabControl> | ||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
using System.Windows.Data; | ||
using System.Windows.Documents; | ||
using System.Windows.Input; | ||
using System.Windows.Media; | ||
using System.Windows.Media.Imaging; | ||
using System.Windows.Navigation; | ||
using System.Windows.Shapes; | ||
|
||
namespace x360ce.App | ||
{ | ||
/// <summary> | ||
/// Interaction logic for ControllersUserControl.xaml | ||
/// </summary> | ||
public partial class ControllersUserControl : UserControl | ||
{ | ||
public ControllersUserControl() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void UserControl_Loaded(object sender, RoutedEventArgs e) | ||
{ | ||
ControllersDataGrid.ItemsSource = SettingManager.DiDevices; | ||
} | ||
|
||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.