1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-30 05:47:25 +08:00
osu-lazer/osu.Game/Overlays/Settings/Sections/Input/KeyboardSettings.cs

26 lines
794 B
C#
Raw Normal View History

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2017-02-07 12:52:19 +08:00
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings.Sections.Input
2017-02-07 12:52:19 +08:00
{
public class KeyboardSettings : SettingsSubsection
2017-02-07 12:52:19 +08:00
{
protected override string Header => "Keyboard";
public KeyboardSettings(KeyBindingOverlay keyConfig)
2017-02-07 12:52:19 +08:00
{
Children = new Drawable[]
{
new OsuButton
{
RelativeSizeAxes = Axes.X,
Text = "Key Configuration",
Action = keyConfig.ToggleVisibility
2017-02-07 12:52:19 +08:00
},
};
}
}
2016-11-03 12:26:49 +08:00
}