Search Results for

    Show / Hide Table of Contents

    Struct InputProxy.MouseInput

    A mouse input event.

    Namespace: GDX.Developer
    Syntax
    public struct MouseInput
    Remarks

    Order and types matters as it is mapped into native, using 32 bytes.

    Constructors

    | Improve this Doc View Source

    MouseInput(Int32, Int32, UInt32, InputProxy.MouseFlag, UInt32, IntPtr)

    Declaration
    public MouseInput(int x, int y, uint data, InputProxy.MouseFlag flags, uint timestamp, IntPtr extraInfo)
    Parameters
    Type Name Description
    System.Int32 x
    System.Int32 y
    System.UInt32 data
    InputProxy.MouseFlag flags
    System.UInt32 timestamp
    System.IntPtr extraInfo

    Fields

    | Improve this Doc View Source

    Data

    Declaration
    public uint Data
    Field Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    ExtraInfo

    Declaration
    public IntPtr ExtraInfo
    Field Value
    Type Description
    System.IntPtr
    | Improve this Doc View Source

    Flags

    Declaration
    public readonly uint Flags
    Field Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    Timestamp

    The timestamp of the event, if 0, OS will just make its own. This is useful if you want to simulate a duration of time between input events.

    Declaration
    public uint Timestamp
    Field Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    X

    The absolute X position or delta depending on the InputProxy.MouseFlag used.

    Declaration
    public readonly int X
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Y

    The absolute Y position or delta depending on the InputProxy.MouseFlag used.

    Declaration
    public readonly int Y
    Field Value
    Type Description
    System.Int32

    See Also

    https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-mouseinput
    • Improve this Doc
    • View Source
    In This Article
    Back to top Built on 2024-01-01 against 1f69a68.
    Generated by Dox+DocFX.