Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IKeyboardDevice Interface

    Namespace: Stride.Input
    Assembly: Stride.Input.dll

    A keyboard device

    public interface IKeyboardDevice : IInputDevice
    Name Description
    Properties
    DownKeys

    List of keys that are currently down on this keyboard

    PressedKeys

    The keys that have been pressed since the last frame

    ReleasedKeys

    The keys that have been released since the last frame

    | Improve this Doc View Source

    Properties


    DownKeys

    List of keys that are currently down on this keyboard

    IReadOnlySet<Keys> DownKeys { get; }
    Property Value
    Type Description
    IReadOnlySet<Keys>

    PressedKeys

    The keys that have been pressed since the last frame

    IReadOnlySet<Keys> PressedKeys { get; }
    Property Value
    Type Description
    IReadOnlySet<Keys>

    ReleasedKeys

    The keys that have been released since the last frame

    IReadOnlySet<Keys> ReleasedKeys { get; }
    Property Value
    Type Description
    IReadOnlySet<Keys>

    Inherited Members

    IInputDevice.Name
    IInputDevice.Id
    IInputDevice.Priority
    IInputDevice.Source
    IInputDevice.Update(List<InputEvent>)

    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