Docs / MonoInput

Glossary: KeyStatus

The members of KeyStatus, in alphabetical order.

Color legend plain property method

One key in ActiveKeys: which key, and its state.

A class, in the namespace BorrowedTorch.MonoInput.Inputs.Keyboard. KeyStatus derives from ActiveInputStatus<Keys> and has its member too: State. The keyboard page shows it in context, with code.

Names are colored by what they are: a property or a method; values and fields keep the plain color.

Properties

Key →

Keys · Read-only. The key, as MonoGame names it.

Methods

KeyStatus() →

KeyStatus(Keys key) · A status for the key, Pressed. The keyboard manager makes its own; one you create is never updated.

Parameter Type Description
key Keys The key, as MonoGame names it.