Struct QueryKeyboardLayoutCommand | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Struct QueryKeyboardLayoutCommand

    Command to query the name of the current keyboard layout from a device.

    Namespace: UnityEngine.InputSystem.LowLevel
    Syntax
    public struct QueryKeyboardLayoutCommand : IInputDeviceCommandInfo

    Fields

    baseCommand

    Declaration
    public InputDeviceCommand baseCommand
    Field Value
    Type Description
    InputDeviceCommand

    nameBuffer

    Declaration
    public byte *nameBuffer
    Field Value
    Type Description
    System.Byte*

    Properties

    Type

    Declaration
    public static FourCC Type { get; }
    Property Value
    Type Description
    FourCC

    typeStatic

    Declaration
    public FourCC typeStatic { get; }
    Property Value
    Type Description
    FourCC
    Implements
    IInputDeviceCommandInfo.typeStatic

    Methods

    Create()

    Declaration
    public static QueryKeyboardLayoutCommand Create()
    Returns
    Type Description
    QueryKeyboardLayoutCommand

    ReadLayoutName()

    Declaration
    public string ReadLayoutName()
    Returns
    Type Description
    System.String
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX