1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-19 03:03:21 +08:00
osu-lazer/osu.Game/Overlays/Settings/Sections/Input/KeyboardSettings.cs

25 lines
713 B
C#
Raw Normal View History

2018-01-05 19:21:19 +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
2017-02-07 12:52:19 +08:00
using osu.Framework.Graphics;
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[]
{
2017-10-21 10:46:06 +08:00
new SettingsButton
2017-02-07 12:52:19 +08:00
{
Text = "Key Configuration",
Action = keyConfig.ToggleVisibility
2017-02-07 12:52:19 +08:00
},
};
}
}
2018-01-05 19:21:19 +08:00
}