The four states of a button, as the game polls them.
An enum, in the namespace BorrowedTorch.InputBinding.Types. The State of a button input, and what a button action’s callback gets. The binder doesn’t work states out: it passes on what the game polled. They are MonoInput’s four states, with None for its Idle. The inputs page shows it in context.
Values
None →
Not touched. A new input starts with it. A callback gets it only for an idle button the game passed anyway.
Pressed →
Just went down: the first frame the button is held. A key’s binding among its modifiers is chosen at this state, see the modifier keys page.
Down →
Still held, from the second frame on.
Up →
Just let go: the frame after the last one it was held.