Docs / Input binder

Glossary: ButtonModifier

The values of ButtonModifier.

The modifier a key binding is held with.

An enum, in the namespace BorrowedTorch.InputBinding.Types. The Modifier of a button input, and part of its identity: S and Ctrl+S are two inputs. Only keys carry one; a binding has one at most. The modifier keys page shows it in context.

Values

None →

The key on its own. Every button off the keyboard has it, and keys are polled with it.

Shift →

The key with Shift held.

Ctrl →

The key with Ctrl held.

Alt →

The key with Alt held.