mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 10:17:32 +08:00
26 lines
775 B
C#
26 lines
775 B
C#
// 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.
|
|
|
|
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
|
|
{
|
|
Text = "Key configuration",
|
|
TooltipText = "Change global shortcut keys and gameplay bindings",
|
|
Action = keyConfig.ToggleVisibility
|
|
},
|
|
};
|
|
}
|
|
}
|
|
}
|