2019-01-24 16:43:03 +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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.Settings.Sections.Input
|
|
|
|
|
{
|
|
|
|
|
public class KeyboardSettings : SettingsSubsection
|
|
|
|
|
{
|
|
|
|
|
protected override string Header => "Keyboard";
|
|
|
|
|
|
2019-05-14 09:45:05 +08:00
|
|
|
|
public KeyboardSettings(KeyBindingPanel keyConfig)
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
|
|
|
|
Children = new Drawable[]
|
|
|
|
|
{
|
|
|
|
|
new SettingsButton
|
|
|
|
|
{
|
2018-09-15 22:30:11 +08:00
|
|
|
|
Text = "Key configuration",
|
2020-01-15 03:26:54 +08:00
|
|
|
|
TooltipText = "change global shortcut keys and gameplay bindings",
|
2018-04-13 17:19:50 +08:00
|
|
|
|
Action = keyConfig.ToggleVisibility
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|