<commit_before>﻿// Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE

using System.Drawing;
using osu.Framework.Configuration;
using osu.Framework.Input;
using osu.Framework.Input.Handlers;
using osu.Framework.Platform;
using osu.Framework.Threading;
using OpenTK;
using osu.Framework.Statistics;
using MouseState = OpenTK.Input.MouseState;

namespace osu.Framework.Desktop.Input.Handlers.Mouse
{
    internal class OpenTKRawMouseHandler : InputHandler, IHasCursorSensitivity
    {
        private ScheduledDelegate scheduled;

        private OpenTK.Input.MouseState? lastState;

        private Vector2 currentPosition;

        private bool mouseInWindow;

        private readonly BindableDouble sensitivity = new BindableDouble(1) { MinValue = 0.1, MaxValue = 10 };

        public BindableDouble Sensitivity => sensitivity;

        public override bool Initialize(GameHost host)
        {
            host.Window.MouseEnter += window_MouseEnter;
            host.Window.MouseLeave += window_MouseLeave;

            Enabled.ValueChanged += enabled =>
            {
                if (enabled)<commit_msg>Fix CI warning<commit_after>﻿// Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE

using System.Drawing;
using osu.Framework.Configuration;
using osu.Framework.Input;
using osu.Framework.Input.Handlers;
using osu.Framework.Platform;
using osu.Framework.Threading;
using OpenTK;
using osu.Framework.Statistics;
using MouseState = OpenTK.Input.MouseState;

namespace osu.Framework.Desktop.Input.Handlers.Mouse
{
    internal class OpenTKRawMouseHandler : InputHandler, IHasCursorSensitivity
    {
        private ScheduledDelegate scheduled;

        private MouseState? lastState;

        private Vector2 currentPosition;

        private bool mouseInWindow;

        private readonly BindableDouble sensitivity = new BindableDouble(1) { MinValue = 0.1, MaxValue = 10 };

        public BindableDouble Sensitivity => sensitivity;

        public override bool Initialize(GameHost host)
        {
            host.Window.MouseEnter += window_MouseEnter;
            host.Window.MouseLeave += window_MouseLeave;

            Enabled.ValueChanged += enabled =>
            {
                if (enabled)
{'fraction_non_alphanumeric': 0.0845771144278607, 'fraction_numerical': 0.011608623548922056, 'mean_word_length': 3.2111692844677138, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7151098', 'n_tokens_mistral': 690, 'n_tokens_neox': 636, 'n_words': 159}