mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 06:07:28 +08:00
26 lines
802 B
C#
26 lines
802 B
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Framework.Graphics;
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
namespace osu.Game.Overlays.Settings.Sections.Input
|
|
{
|
|
public class KeyboardSettings : SettingsSubsection
|
|
{
|
|
protected override string Header => "Keyboard";
|
|
|
|
public KeyboardSettings(KeyBindingOverlay keyConfig)
|
|
{
|
|
Children = new Drawable[]
|
|
{
|
|
new OsuButton
|
|
{
|
|
RelativeSizeAxes = Axes.X,
|
|
Text = "Key Configuration",
|
|
Action = () => keyConfig.ToggleVisibility()
|
|
},
|
|
};
|
|
}
|
|
}
|
|
} |