docs.unity.cn
    Show / Hide Table of Contents

    Struct QueryKeyboardLayoutCommand

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

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    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
    Byte*

    Properties

    Type

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

    typeStatic

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

    Methods

    Create()

    Declaration
    public static QueryKeyboardLayoutCommand Create()
    Returns
    Type Description
    QueryKeyboardLayoutCommand

    ReadLayoutName()

    Read the current keyboard layout name from nameBuffer.

    Declaration
    public string ReadLayoutName()
    Returns
    Type Description
    String

    WriteLayoutName(String)

    Write the given string to nameBuffer.

    Declaration
    public void WriteLayoutName(string name)
    Parameters
    Type Name Description
    String name

    Keyboard layout name.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 17, 2023