Docs / Input binder

Input binder glossary: inputs

The three inputs, their base, the factories, and the sources, states and modifiers, one page per type.

Each type has a page listing its members in alphabetical order, each with its type or signature and what it does. The sidebar lists the members of each class under its name. An enum’s page lists its values.

Type What it is
BaseInput The base of the three inputs: the source, the player number, and equality by identity.
ButtonInput A key, a mouse, pad or MIDI button: its id, a key’s modifier, and its state this frame.
OneAxisInput A single axis, such as a trigger or a wheel: its id and its float value this frame.
TwoAxesInput A pair of axes, such as a stick: its id and its Vector2 value this frame.
InputFactory Makes a key, a mouse, pad or MIDI button, or an axis, in a call.
InputSource The four kinds of device: keyboard, mouse, gamepad and MIDI.
ButtonState The four states of a button: none, pressed, down and up.
ButtonModifier The modifier of a key binding: none, Shift, Ctrl or Alt.