From 6a706fbdb85bc3ecfb3ac1602d0cfe13413acce6 Mon Sep 17 00:00:00 2001 From: Herwin Bozet Date: Sun, 19 Jan 2025 23:13:01 +0100 Subject: [PATCH] Removed non-CC0 documentation Update EEventTypes.cs, EKeyEventFlags.cs, and EMouseEventFlags.cs --- .../WinUser/SendKeys/EEventTypes.cs | 17 ---- .../WinUser/SendKeys/EKeyEventFlags.cs | 29 ------ .../WinUser/SendKeys/EMouseEventFlags.cs | 92 ------------------- 3 files changed, 138 deletions(-) diff --git a/NibblePoker.Win32Bindings/WinUser/SendKeys/EEventTypes.cs b/NibblePoker.Win32Bindings/WinUser/SendKeys/EEventTypes.cs index 0683768..f4a33e5 100644 --- a/NibblePoker.Win32Bindings/WinUser/SendKeys/EEventTypes.cs +++ b/NibblePoker.Win32Bindings/WinUser/SendKeys/EEventTypes.cs @@ -1,24 +1,7 @@ namespace NibblePoker.Win32Bindings.WinUser.SendKeys; public enum EEventTypes { - /// - /// The event is a mouse event. Use the mi structure of the union. - /// - /// - /// INPUT_MOUSE = 0, - - /// - /// The event is a keyboard event. Use the ki structure of the union. - /// - /// - /// INPUT_KEYBOARD = 1, - - /// - /// The event is a hardware event. Use the hi structure of the union. - /// - /// - /// INPUT_HARDWARE = 2, } diff --git a/NibblePoker.Win32Bindings/WinUser/SendKeys/EKeyEventFlags.cs b/NibblePoker.Win32Bindings/WinUser/SendKeys/EKeyEventFlags.cs index f1eb2a5..fc14642 100644 --- a/NibblePoker.Win32Bindings/WinUser/SendKeys/EKeyEventFlags.cs +++ b/NibblePoker.Win32Bindings/WinUser/SendKeys/EKeyEventFlags.cs @@ -4,37 +4,8 @@ [Flags] public enum EKeyEventFlags : uint { // https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-keybdinput - - /// - /// If specified, the wScan scan code consists of a sequence of two bytes, where the first byte has a value of 0xE0. - /// See Extended-Key Flag - /// for more info. - /// - /// - /// KEYEVENTF_EXTENDEDKEY = 0x0001, - - /// - /// If specified, the key is being released. - /// If not specified, the key is being pressed. - /// - /// - /// KEYEVENTF_KEYUP = 0x0002, - - /// - /// If specified, identifies the key and is ignored. - /// - /// - /// KEYEVENTF_SCANCODE = 0x0004, - - /// - /// If specified, the system synthesizes a VK_PACKET keystroke. - /// The parameter must be zero. - /// This flag can only be combined with the flag. - /// - /// - /// KEYEVENTF_UNICODE = 0x0008, } diff --git a/NibblePoker.Win32Bindings/WinUser/SendKeys/EMouseEventFlags.cs b/NibblePoker.Win32Bindings/WinUser/SendKeys/EMouseEventFlags.cs index 97e6a7f..ee1fd34 100644 --- a/NibblePoker.Win32Bindings/WinUser/SendKeys/EMouseEventFlags.cs +++ b/NibblePoker.Win32Bindings/WinUser/SendKeys/EMouseEventFlags.cs @@ -5,110 +5,18 @@ public enum EMouseEventFlags : uint { // https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-MOUSEINPUT - /// - /// Movement occurred. - /// - /// - /// MOUSEEVENTF_MOVE = 0x0001, - - /// - /// The left button was pressed. - /// - /// - /// MOUSEEVENTF_LEFTDOWN = 0x0002, - - /// - /// The left button was released. - /// - /// - /// MOUSEEVENTF_LEFTUP = 0x0004, - - /// - /// The right button was pressed. - /// - /// - /// MOUSEEVENTF_RIGHTDOWN = 0x0008, - - /// - /// The right button was released. - /// - /// - /// MOUSEEVENTF_RIGHTUP = 0x0010, - - /// - /// The middle button was pressed. - /// - /// - /// MOUSEEVENTF_MIDDLEDOWN = 0x0020, - - /// - /// The middle button was released. - /// - /// - /// MOUSEEVENTF_MIDDLEUP = 0x0040, - - /// - /// An X button was pressed. - /// - /// - /// MOUSEEVENTF_XDOWN = 0x0080, - - /// - /// An X button was released. - /// - /// - /// MOUSEEVENTF_XUP = 0x0100, - - /// - /// The wheel was moved, if the mouse has a wheel. - /// The amount of movement is specified in mouseData. - /// - /// - /// MOUSEEVENTF_WHEEL = 0x0800, - - /// - /// The wheel was moved horizontally, if the mouse has a wheel. - /// The amount of movement is specified in mouseData. - /// - /// Windows XP/2000: This value is not supported - /// - /// MOUSEEVENTF_HWHEEL = 0x1000, - - /// - /// The WM_MOUSEMOVE - /// messages will not be coalesced. - /// The default behavior is to coalesce WM_MOUSEMOVE messages. - /// - /// Windows XP/2000: This value is not supported - /// - /// MOUSEEVENTF_MOVE_NOCOALESCE = 0x2000, - - /// - /// Maps coordinates to the entire desktop. - /// Must be used with . - /// - /// - /// MOUSEEVENTF_VIRTUALDESK = 0x4000, - - /// - /// The dx and dy members contain normalized absolute coordinates. - /// If the flag is not set, `dx` and `dy` contain relative data (the change in position since the last reported position). - /// This flag can be set, or not set, regardless of what kind of mouse or other pointing device, if any, is connected to the system. - /// - /// - /// MOUSEEVENTF_ABSOLUTE = 0x8000, }