Search Results for

    Show / Hide Table of Contents

    Struct InputProxy.KeyboardInput

    A keyboard input event.

    Namespace: GDX.Developer
    Syntax
    public struct KeyboardInput
    Remarks

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

    Constructors

    | Improve this Doc View Source

    KeyboardInput(InputProxy.KeyCode, InputProxy.KeyboardFlag, UInt32, IntPtr)

    Declaration
    public KeyboardInput(InputProxy.KeyCode key, InputProxy.KeyboardFlag flags, uint timestamp, IntPtr extraInfo)
    Parameters
    Type Name Description
    InputProxy.KeyCode key
    InputProxy.KeyboardFlag flags
    System.UInt32 timestamp
    System.IntPtr extraInfo

    Fields

    | 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

    Key

    Declaration
    public readonly ushort Key
    Field Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    ScanCode

    Declaration
    public readonly ushort ScanCode
    Field Value
    Type Description
    System.UInt16
    | 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

    See Also

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