1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 22:22:54 +08:00
osu-lazer/osu.Game/Overlays/Settings/Sections/Input/KeyboardSettings.cs

26 lines
773 B
C#
Raw Normal View History

// 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.
2018-04-13 17:19:50 +08:00
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Input
{
public class KeyboardSettings : SettingsSubsection
{
protected override string Header => "Keyboard";
public KeyboardSettings(KeyBindingPanel keyConfig)
2018-04-13 17:19:50 +08:00
{
Children = new Drawable[]
{
new SettingsButton
{
2018-09-15 22:30:11 +08:00
Text = "Key configuration",
TooltipText = "Change global shortcut keys and gameplay bindings",
2018-04-13 17:19:50 +08:00
Action = keyConfig.ToggleVisibility
},
};
}
}
}