Docs / MonoInput

Glossary: ActiveInputStatus<TId>

The members of ActiveInputStatus, in alphabetical order.

Color legend plain property method

One input in a list of active inputs, a key or a note: its state while it is pressed, held or just let go.

An abstract class, in the namespace BorrowedTorch.MonoInput.Inputs, for a TId that names an input. KeyStatus, with Keys, and NoteStatus, with int, derive from it and give the id a name; the id itself is internal. A status is created Pressed when its input goes down, and stays the same object until the input is idle again and the status leaves its list. The button states 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

State →

ButtonStates · Read-only. Pressed, Down or Up while the status is in its list, never Idle: an idle input has no status. A status out of its list stays Up and is no longer updated.

Methods

ActiveInputStatus() →

ActiveInputStatus(TId id) · For derived classes: a status for the input, Pressed.

Parameter Type Description
id TId The input, such as a key or a note number.