2018-04-13 17:19:50 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|