<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;

namespace MapMap
{
    static class MouseController
    {
        [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
        private static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint cButtons, uint dwExtraInfo);

        private const int MOUSEEVENTF_LEFTDOWN = 0x02;
        private const int MOUSEEVENTF_LEFTUP = 0x04;
        private const int MOUSEEVENTF_RIGHTDOWN = 0x08;
        private const int MOUSEEVENTF_RIGHTUP = 0x10;

        public static void MouseDown()
        {
            mouse_event(MOUSEEVENTF_LEFTDOWN,
                (uint)Cursor.Position.X, (uint)Cursor.Position.Y, 0, 0);
        }

        public static void MouseUp()
        {
            mouse_event(MOUSEEVENTF_LEFTUP,
                (uint)Cursor.Position.X, (uint)Cursor.Position.Y, 0, 0);
        }

        public static void Click()
        {
            mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP,
                (uint)Cursor.Position.X, (uint)Cursor.Position.Y, 0, 0);
        }
    }
}<commit_msg>removed unused constants<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;

namespace MapMap
{
    static class MouseController
    {
        [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
        private static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint cButtons, uint dwExtraInfo);

        private const int MOUSEEVENTF_LEFTDOWN = 0x02;
        private const int MOUSEEVENTF_LEFTUP = 0x04;

        public static void MouseDown()
        {
            mouse_event(MOUSEEVENTF_LEFTDOWN,
                (uint)Cursor.Position.X, (uint)Cursor.Position.Y, 0, 0);
        }

        public static void MouseUp()
        {
            mouse_event(MOUSEEVENTF_LEFTUP,
                (uint)Cursor.Position.X, (uint)Cursor.Position.Y, 0, 0);
        }

        public static void Click()
        {
            mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP,
                (uint)Cursor.Position.X, (uint)Cursor.Position.Y, 0, 0);
        }
    }
}
{'fraction_non_alphanumeric': 0.08956485002112378, 'fraction_numerical': 0.01436417405999155, 'mean_word_length': 2.5716440422322777, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3781192', 'n_tokens_mistral': 739, 'n_tokens_neox': 714, 'n_words': 160}