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";
|
|
|
|
|
|
|
|
|
|
public KeyboardSettings(KeyBindingOverlay keyConfig)
|
|
|
|
|
{
|
|
|
|
|
Children = new Drawable[]
|
|
|
|
|
{
|
|
|
|
|
new SettingsButton
|
|
|
|
|
{
|
2018-09-15 22:30:11 +08:00
|
|
|
|
Text = "Key configuration",
|
2018-04-13 17:19:50 +08:00
|
|
|
|
Action = keyConfig.ToggleVisibility
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|