2022-04-23 12:52:59 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2022-04-23 13:23:07 +08:00
|
|
|
#nullable disable
|
2022-06-17 15:37:17 +08:00
|
|
|
|
2022-04-23 11:17:00 +08:00
|
|
|
using osu.Framework.Localisation;
|
|
|
|
|
|
|
|
namespace osu.Game.Localisation
|
|
|
|
{
|
|
|
|
public static class JoystickSettingsStrings
|
|
|
|
{
|
|
|
|
private const string prefix = @"osu.Game.Resources.Localisation.JoystickSettings";
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Joystick / Gamepad"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString JoystickGamepad => new TranslatableString(getKey(@"joystick_gamepad"), @"Joystick / Gamepad");
|
|
|
|
|
|
|
|
/// <summary>
|
2022-06-07 10:54:31 +08:00
|
|
|
/// "Deadzone"
|
2022-04-23 11:17:00 +08:00
|
|
|
/// </summary>
|
2022-04-23 13:23:07 +08:00
|
|
|
public static LocalisableString DeadzoneThreshold => new TranslatableString(getKey(@"deadzone_threshold"), @"Deadzone");
|
2022-04-23 11:17:00 +08:00
|
|
|
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
|
|
}
|
2022-06-07 10:54:31 +08:00
|
|
|
}
|