Added link to HTML5 Gamepad Test

This commit is contained in:
Travis Nickles 2020-01-26 11:03:48 -06:00
parent 6f53361607
commit 64a0c81173
4 changed files with 21 additions and 0 deletions

View File

@ -312,6 +312,10 @@
Style="{StaticResource NoBGHoverBtn}" Click="ControlPanelBtn_Click" > Style="{StaticResource NoBGHoverBtn}" Click="ControlPanelBtn_Click" >
<TextBlock Text="{lex:Loc ControlPanel}" TextDecorations="Underline" Foreground="#FF3881D8" Cursor="Hand" /> <TextBlock Text="{lex:Loc ControlPanel}" TextDecorations="Underline" Foreground="#FF3881D8" Cursor="Hand" />
</Button> </Button>
<Button x:Name="html5GameBtn" BorderThickness="0" Margin="0,0,0,4" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}" Click="Html5GameBtn_Click" >
<TextBlock Text="{lex:Loc GamepadTest}" TextDecorations="Underline" Foreground="#FF3881D8" Cursor="Hand" />
</Button>
<Button x:Name="driverSetupBtn" BorderThickness="0" Margin="0,0,0,4" Background="{x:Null}" BorderBrush="{x:Null}" <Button x:Name="driverSetupBtn" BorderThickness="0" Margin="0,0,0,4" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}" Click="DriverSetupBtn_Click"> Style="{StaticResource NoBGHoverBtn}" Click="DriverSetupBtn_Click">
<TextBlock Text="{lex:Loc DriverSetup}" TextDecorations="Underline" Foreground="#FF3881D8" Cursor="Hand" /> <TextBlock Text="{lex:Loc DriverSetup}" TextDecorations="Underline" Foreground="#FF3881D8" Cursor="Hand" />

View File

@ -1342,5 +1342,10 @@ Suspend support not enabled.", true);
ShowProfileEditor(4, entity); ShowProfileEditor(4, entity);
} }
} }
private void Html5GameBtn_Click(object sender, RoutedEventArgs e)
{
Process.Start("https://html5gamepad.com/");
}
} }
} }

View File

@ -348,6 +348,15 @@ namespace DS4WinWPF.Translations {
} }
} }
/// <summary>
/// Looks up a localized string similar to Gamepad Test.
/// </summary>
public static string GamepadTest {
get {
return ResourceManager.GetString("GamepadTest", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Gyro. /// Looks up a localized string similar to Gyro.
/// </summary> /// </summary>

View File

@ -327,4 +327,7 @@
<data name="AutoProfTitleTip" xml:space="preserve"> <data name="AutoProfTitleTip" xml:space="preserve">
<value>Window title. ^ABC = Match at the beginning of string (^) | ABC$ = Match at the end of string ($) | *ABC =Contains a string (*)</value> <value>Window title. ^ABC = Match at the beginning of string (^) | ABC$ = Match at the end of string ($) | *ABC =Contains a string (*)</value>
</data> </data>
<data name="GamepadTest" xml:space="preserve">
<value>Gamepad Test</value>
</data>
</root> </root>