Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    KeyboardSimulated Class

    Namespace: Stride.Input
    Assembly: Stride.Input.dll
    System.Object → KeyboardDeviceBase → KeyboardSimulated
    Derived from KeyboardSimulated:

    public class KeyboardSimulated : KeyboardDeviceBase, IKeyboardDevice, IInputDevice
    Name Description
    Constructors
    KeyboardSimulated(InputSourceSimulated)
    Properties
    Id
    Name
    Source
    Methods
    SimulateDown(Keys)
    SimulateUp(Keys)
    | Improve this Doc View Source

    Constructors


    KeyboardSimulated(InputSourceSimulated)

    public KeyboardSimulated(InputSourceSimulated source)
    Parameters
    Type Name Description
    InputSourceSimulated source
    | Improve this Doc View Source

    Properties


    Id

    public override Guid Id { get; }
    Property Value
    Type Description
    System.Guid
    Overrides
    KeyboardDeviceBase.Id

    Name

    public override string Name { get; }
    Property Value
    Type Description
    System.String
    Overrides
    KeyboardDeviceBase.Name

    Source

    public override IInputSource Source { get; }
    Property Value
    Type Description
    IInputSource
    Overrides
    KeyboardDeviceBase.Source
    | Improve this Doc View Source

    Methods


    SimulateDown(Keys)

    public void SimulateDown(Keys key)
    Parameters
    Type Name Description
    Keys key

    SimulateUp(Keys)

    public void SimulateUp(Keys key)
    Parameters
    Type Name Description
    Keys key

    Inherited Members

    KeyboardDeviceBase.Events
    KeyboardDeviceBase.KeyRepeats
    KeyboardDeviceBase.PressedKeys
    KeyboardDeviceBase.ReleasedKeys
    KeyboardDeviceBase.DownKeys
    KeyboardDeviceBase.Priority
    KeyboardDeviceBase.Update(List<InputEvent>)
    KeyboardDeviceBase.HandleKeyDown(Keys)
    KeyboardDeviceBase.HandleKeyUp(Keys)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    KeyboardDeviceExtensions.IsKeyPressed(IKeyboardDevice, Keys)
    KeyboardDeviceExtensions.IsKeyReleased(IKeyboardDevice, Keys)
    KeyboardDeviceExtensions.IsKeyDown(IKeyboardDevice, Keys)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation