mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 01:02:55 +08:00
26 lines
773 B
C#
26 lines
773 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(KeyBindingPanel keyConfig)
|
|
{
|
|
Children = new Drawable[]
|
|
{
|
|
new SettingsButton
|
|
{
|
|
Text = "Key configuration",
|
|
TooltipText = "change global shortcut keys and gameplay bindings",
|
|
Action = keyConfig.ToggleVisibility
|
|
},
|
|
};
|
|
}
|
|
}
|
|
}
|