// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Configuration; namespace osu.Game.Screens.Play.PlayerSettings { public class InputSettings : PlayerSettingsGroup { protected override string Title => "Input settings"; private readonly PlayerCheckbox mouseButtonsCheckbox; public InputSettings() { Children = new Drawable[] { mouseButtonsCheckbox = new PlayerCheckbox { LabelText = "Disable mouse buttons" } }; } [BackgroundDependencyLoader] private void load(OsuConfigManager config) => mouseButtonsCheckbox.Bindable = config.GetBindable(OsuSetting.MouseDisableButtons); } }